This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,9 @@ import("//flutter/tools/fuchsia/dart.gni")
1010import (" //flutter/tools/fuchsia/fuchsia_host_bundle.gni" )
1111
1212product_suffix = " "
13- is_product = false
1413
1514if (flutter_runtime_mode == " release" ) {
1615 product_suffix = " product_"
17- is_product = true
1816}
1917
2018fuchsia_host_bundle (" flutter_binaries" ) {
@@ -35,7 +33,7 @@ fuchsia_host_bundle("dart_binaries") {
3533 name = " dart_binaries"
3634
3735 _gen_snapshot_to_use = gen_snapshot + " ($host_toolchain )"
38- if (is_product ) {
36+ if (flutter_runtime_mode == " release " ) {
3937 _gen_snapshot_to_use = gen_snapshot_product + " ($host_toolchain )"
4038 }
4139
Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ runner("dart_jit_product_runner_bin") {
9393 product = true
9494 extra_defines = [ " DART_PRODUCT" ]
9595 extra_deps = [
96- " //third_party/dart/runtime:libdart_jit_product " ,
97- " //third_party/dart/runtime/platform:libdart_platform_jit_product " ,
96+ " //third_party/dart/runtime:libdart_jit " ,
97+ " //third_party/dart/runtime/platform:libdart_platform_jit " ,
9898 ]
9999}
100100
@@ -121,8 +121,8 @@ runner("dart_aot_product_runner_bin") {
121121 ]
122122 extra_deps = [
123123 " embedder:dart_aot_product_snapshot_cc" ,
124- " //third_party/dart/runtime:libdart_precompiled_runtime_product " ,
125- " //third_party/dart/runtime/platform:libdart_platform_precompiled_runtime_product " ,
124+ " //third_party/dart/runtime:libdart_precompiled_runtime " ,
125+ " //third_party/dart/runtime/platform:libdart_platform_precompiled_runtime " ,
126126 ]
127127}
128128
Original file line number Diff line number Diff line change @@ -229,8 +229,8 @@ flutter_runner("jit_product") {
229229 product = true
230230
231231 extra_deps = [
232- " //third_party/dart/runtime:libdart_jit_product " ,
233- " //third_party/dart/runtime/platform:libdart_platform_jit_product " ,
232+ " //third_party/dart/runtime:libdart_jit " ,
233+ " //third_party/dart/runtime/platform:libdart_platform_jit " ,
234234 ]
235235}
236236
@@ -249,8 +249,8 @@ flutter_runner("aot_product") {
249249 product = true
250250
251251 extra_deps = [
252- " //third_party/dart/runtime:libdart_precompiled_runtime_product " ,
253- " //third_party/dart/runtime/platform:libdart_platform_precompiled_runtime_product " ,
252+ " //third_party/dart/runtime:libdart_precompiled_runtime " ,
253+ " //third_party/dart/runtime/platform:libdart_platform_precompiled_runtime " ,
254254 ]
255255}
256256
You can’t perform that action at this time.
0 commit comments