Migrate OpenCX-cts to cfv2

bug: 104032

Change-Id: I151caa861f86475bff26132b02e71a1eb068e0fc
diff --git a/fuchsia/BUILD.gn b/fuchsia/BUILD.gn
index 7af2561..4db75b1 100644
--- a/fuchsia/BUILD.gn
+++ b/fuchsia/BUILD.gn
@@ -183,14 +183,14 @@
     "${magma_openvx_package}",
   ]
 }
-# fuchsia-pkg://fuchsia.com/openvx_cts#meta/openvx_cts.cmx
+# fuchsia-pkg://fuchsia.com/openvx_cts#meta/openvx_cts.cml
 fuchsia_component("openvx_cts_vsi_cmp") {
   component_name = "openvx_cts"
   deps = [
     ":vx_test_conformance_vsi",
     ":libtest-testmodule",
   ] + resource_deps
-  manifest = "meta/test_openvx_cts.cmx"
+  manifest = "meta/test_openvx_cts.cml"
 }
 
 fuchsia_test_package("openvx-cts-vsi") {
diff --git a/fuchsia/meta/test_openvx_cts.cml b/fuchsia/meta/test_openvx_cts.cml
new file mode 100644
index 0000000..1f8a3bf
--- /dev/null
+++ b/fuchsia/meta/test_openvx_cts.cml
@@ -0,0 +1,24 @@
+// Copyright 2022 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+{
+    include: [
+        "sys/testing/elf_test_runner.shard.cml",
+        "//src/sys/test_runners/tmp_storage.shard.cml",
+        "sys/testing/system-test.shard.cml",
+        "syslog/client.shard.cml",
+    ],
+    program: {
+        binary: "bin/vx_test_conformance",
+    },
+    use: [
+        {
+            protocol: [ "fuchsia.tracing.provider.Registry" ],
+        },
+        {
+            directory: "dev-gpu",
+            rights: [ "r*" ],
+            path: "/dev/class/gpu",
+        },
+    ],
+}
diff --git a/fuchsia/meta/test_openvx_cts.cmx b/fuchsia/meta/test_openvx_cts.cmx
deleted file mode 100644
index 758140c..0000000
--- a/fuchsia/meta/test_openvx_cts.cmx
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-    "include": [
-        "syslog/client.shard.cmx"
-    ],
-    "facets": {
-        "fuchsia.test": {
-            "system-services": [
-                "fuchsia.tracing.provider.Registry"
-            ]
-        }
-    },
-    "program": {
-        "binary": "bin/vx_test_conformance"
-    },
-    "sandbox": {
-        "dev": [
-            "class/gpu"
-        ],
-        "features": [
-            "isolated-temp"
-        ],
-        "services": [
-            "fuchsia.logger.LogSink",
-            "fuchsia.tracing.provider.Registry"
-        ]
-    }
-}