Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 78a676d

Browse files
renyoumehmetf
authored andcommitted
Revert "Add tests & --unopt to build_fuchsia_artifacts (#18625)" (#19494)
This reverts commit fae8141.
1 parent 671b4fb commit 78a676d

File tree

5 files changed

+244
-219
lines changed

5 files changed

+244
-219
lines changed

BUILD.gn

+2-8
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,10 @@ if (is_fuchsia) {
169169
"//flutter/fml:fml_tests",
170170
"//flutter/runtime:runtime_tests",
171171
"//flutter/runtime:runtime_tests_next",
172+
"//flutter/shell/common:shell_tests",
173+
"//flutter/shell/common:shell_tests_next",
172174
"//flutter/shell/platform/fuchsia/flutter:flutter_runner_scenic_tests",
173175
"//flutter/shell/platform/fuchsia/flutter:flutter_runner_tests",
174176
]
175-
176-
# TODO(fxb/55353): These break with LTO enabled
177-
if (!enable_lto) {
178-
deps += [
179-
"//flutter/shell/common:shell_tests",
180-
"//flutter/shell/common:shell_tests_next",
181-
]
182-
}
183177
}
184178
}

shell/platform/fuchsia/dart_runner/BUILD.gn

+3-23
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,11 @@ template("runner") {
1414
assert(defined(invoker.product), "The parameter 'product' must be defined")
1515
assert(defined(invoker.output_name),
1616
"The parameter 'output_name' must be defined")
17-
assert(defined(invoker.extra_deps),
18-
"The parameter 'extra_deps' must be defined")
1917

2018
invoker_output_name = invoker.output_name
19+
extra_defines = invoker.extra_defines
2120
extra_deps = invoker.extra_deps
2221

23-
extra_configs = []
24-
if (is_debug) {
25-
extra_configs += [ "//third_party/dart/build/config:debug" ]
26-
}
27-
28-
extra_defines = []
29-
if (defined(invoker.extra_defines)) {
30-
extra_defines += invoker.extra_defines
31-
}
32-
3322
executable(target_name) {
3423
output_name = invoker_output_name
3524

@@ -46,8 +35,6 @@ template("runner") {
4635
"service_isolate.h",
4736
]
4837

49-
configs += extra_configs
50-
5138
defines = extra_defines
5239

5340
dart_deps = []
@@ -88,11 +75,10 @@ template("runner") {
8875
runner("dart_jit_runner_bin") {
8976
output_name = "dart_jit_runner"
9077
product = false
91-
78+
extra_defines = []
9279
if (flutter_runtime_mode == "profile") {
93-
extra_defines = [ "FLUTTER_PROFILE" ]
80+
extra_defines += [ "FLUTTER_PROFILE" ]
9481
}
95-
9682
extra_deps = [
9783
"//third_party/dart/runtime:libdart_jit",
9884
"//third_party/dart/runtime/platform:libdart_platform_jit",
@@ -102,9 +88,7 @@ runner("dart_jit_runner_bin") {
10288
runner("dart_jit_product_runner_bin") {
10389
output_name = "dart_jit_product_runner"
10490
product = true
105-
10691
extra_defines = [ "DART_PRODUCT" ]
107-
10892
extra_deps = [
10993
"//third_party/dart/runtime:libdart_jit_product",
11094
"//third_party/dart/runtime/platform:libdart_platform_jit_product",
@@ -114,12 +98,10 @@ runner("dart_jit_product_runner_bin") {
11498
runner("dart_aot_runner_bin") {
11599
output_name = "dart_aot_runner"
116100
product = false
117-
118101
extra_defines = [ "AOT_RUNTIME" ]
119102
if (flutter_runtime_mode == "profile") {
120103
extra_defines += [ "FLUTTER_PROFILE" ]
121104
}
122-
123105
extra_deps = [
124106
"embedder:dart_aot_snapshot_cc",
125107
"//third_party/dart/runtime:libdart_precompiled_runtime",
@@ -130,12 +112,10 @@ runner("dart_aot_runner_bin") {
130112
runner("dart_aot_product_runner_bin") {
131113
output_name = "dart_aot_product_runner"
132114
product = true
133-
134115
extra_defines = [
135116
"AOT_RUNTIME",
136117
"DART_PRODUCT",
137118
]
138-
139119
extra_deps = [
140120
"embedder:dart_aot_product_snapshot_cc",
141121
"//third_party/dart/runtime:libdart_precompiled_runtime_product",

0 commit comments

Comments
 (0)