diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn index 903cc408dc7..07b9b1707e6 100644 --- a/runtime/bin/BUILD.gn +++ b/runtime/bin/BUILD.gn @@ -764,10 +764,15 @@ action("generate_snapshot_test_dat_file") { } executable("run_vm_tests") { + if (defined(is_fuchsia) && is_fuchsia) { + testonly = true + } + configs += [ "..:dart_config", "..:dart_maybe_product_config", ] + deps = [ ":dart_snapshot_cc", ":generate_snapshot_test_dat_file",