[fuchsia] Configure test suite(s) to run on CFv2.

Migrates test target(s) to be compatible with
Component Framework v2 (CFv2) on Fuchsia.

This CL was uploaded by git cl split.

[email protected]

Bug: 1280705
Change-Id: I85676ec85cb6f60a23fb000b9053bbd312f48ccd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3629957
Auto-Submit: Kevin Marshall <[email protected]>
Reviewed-by: Ben Pastene <[email protected]>
Commit-Queue: Kevin Marshall <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1001072}
diff --git a/testing/test.gni b/testing/test.gni
index 440be414..eac7df86 100644
--- a/testing/test.gni
+++ b/testing/test.gni
@@ -438,8 +438,13 @@
       _test_program_fragment =
           "${target_out_dir}/${target_name}_program.test-cml"
       generated_file(_test_program_fragment_target) {
-        contents = "{ program: { binary: \"${_program_name}\",},}"
+        contents = {
+          program = {
+            binary = _program_name
+          }
+        }
         outputs = [ _test_program_fragment ]
+        output_conversion = "json"
       }
 
       _test_runner_shard =