Use split CTS by default on ARM64

These systems are slower and more likely to run out of memory, so
prefer to run the split CTS on them, since it starts producing results
more quickly and reduces the risk of running out of memory.

Change-Id: I77dab94e8f533891e227eb56978062753eb5c273
diff --git a/fuchsia/BUILD.gn b/fuchsia/BUILD.gn
index b10809b..6239e48 100644
--- a/fuchsia/BUILD.gn
+++ b/fuchsia/BUILD.gn
@@ -87,7 +87,8 @@
 # The following command line args are provided by the cmx:
 # --deqp-caselist-file=/pkg/data/vk-default-1.1.3.txt --deqp-log-images=disable --deqp-log-shader-sources=disable --deqp-log-filename=/data/TestResults.qpa
 # To run the 1.0.2 CTS: "run fuchsia-pkg://fuchsia.com/vulkan-cts#meta/vulkan-cts-1.0.2.cmx"
-package("vulkan-cts") {
+package("vulkan-cts-unified") {
+  package_name = "vulkan-cts"
   deps = [
     ":copy",
     ":vulkan_cts_build_id",
@@ -123,6 +124,19 @@
   resources = cts_resources
 }
 
+group("vulkan-cts") {
+  if (target_cpu == "arm64") {
+    # This takes a while to build, so only try building it on ARM64, where it's necessary.
+    deps = [
+      "split-cts:vulkan-cts-split",
+    ]
+  } else {
+    deps = [
+      ":vulkan-cts-unified",
+    ]
+  }
+}
+
 # To run on device:
 # run vulkan-cts-executor --start-server=/pkg/bin/execserver --testset=dEQP-VK.* --caselistdir=/pkg/data/cases --out=/data/TestLog.qpa --info=/data/infolog.txt --binaryname=/pkg/bin/deqp-vk --workdir=/data
 # Note: the list of cases may include tests that aren't in vk-default.txt "mustpass".