From f9d8a38aba322263861c4e97856a39a5438a8b86 Mon Sep 17 00:00:00 2001 From: Hzj_jie Date: Mon, 23 Sep 2024 15:38:47 -0700 Subject: [PATCH] force testonly --- tools/fuchsia/fuchsia_archive.gni | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/fuchsia/fuchsia_archive.gni b/tools/fuchsia/fuchsia_archive.gni index e723ff7e91b67..d18a4c9ec8043 100644 --- a/tools/fuchsia/fuchsia_archive.gni +++ b/tools/fuchsia/fuchsia_archive.gni @@ -246,7 +246,7 @@ template("fuchsia_test_archive") { _cml_file = "$root_out_dir/${target_name}.cml" _interpolate_cml_target = "${target_name}_interpolate_cml" action(_interpolate_cml_target) { - forward_variables_from(invoker, [ "testonly" ]) + testonly = true script = "//flutter/tools/fuchsia/interpolate_test_suite.py" sources = [ "//flutter/testing/fuchsia/meta/test_suite.cml" ] args = [ @@ -268,7 +268,7 @@ template("fuchsia_test_archive") { _compile_cml_target = "${target_name}_${_cml_file_name}_compile_cml" _compile_cml(_compile_cml_target) { - forward_variables_from(invoker, [ "testonly" ]) + testonly = true manifest = _cml_file output = "$_far_base_dir/meta/${_cml_file_name}.cm"