Fix Fuchsia build.

Don't need to maintain testonly for the main Fuchsia tree anymore.

TEST=gn
Change-Id: I99c513dac5aa09ef47a6b6666c934ad63fe4a874
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/508823
Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
Ryan Macnak
2026-06-02 16:47:34 -07:00
parent 152d83492f
commit 1b3e9d510e
2 changed files with 0 additions and 26 deletions
-18
View File
@@ -5,23 +5,12 @@
import("build/config/gclient_args.gni")
import("sdk_args.gni")
targeting_fuchsia = target_os == "fuchsia"
# This target will be built if no target is specified when invoking ninja.
group("default") {
if (targeting_fuchsia) {
# Fuchsia has run_vm_tests marked testonly.
testonly = true
}
deps = [ ":runtime" ]
}
group("most") {
import("runtime/runtime_args.gni")
if (targeting_fuchsia) {
# Fuchsia has run_vm_tests marked testonly.
testonly = true
}
deps = [
":analysis_server",
":create_sdk",
@@ -35,11 +24,6 @@ group("most") {
group("runtime") {
import("runtime/runtime_args.gni")
if (targeting_fuchsia) {
# Fuchsia has run_vm_tests marked testonly.
testonly = true
}
deps = [
"runtime/bin:dart",
"runtime/bin:dartvm",
@@ -472,7 +456,6 @@ if (is_fuchsia) {
foreach(binary, test_binaries) {
fuchsia_component("${binary}_test_component") {
testonly = true
manifest = "runtime/bin/${binary}_test_component.cml"
data_deps = [
"runtime/bin:${binary}",
@@ -515,7 +498,6 @@ if (is_fuchsia) {
}
fuchsia_package("fuchsia_test_package") {
testonly = true
package_name = "dart_test"
deps = []
foreach(binary, test_binaries) {
-8
View File
@@ -1111,10 +1111,6 @@ executable("create_process_test_helper") {
}
source_set("run_vm_tests_set") {
if (target_os == "fuchsia") {
testonly = true
}
configs += [
"..:dart_arch_config",
"..:dart_config",
@@ -1171,10 +1167,6 @@ source_set("run_vm_tests_set") {
}
executable("run_vm_tests") {
if (target_os == "fuchsia") {
testonly = true
}
configs += [
"..:dart_arch_config",
"..:dart_config",