Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions shell/platform/fuchsia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ import("//flutter/tools/fuchsia/dart.gni")
import("//flutter/tools/fuchsia/fuchsia_host_bundle.gni")

product_suffix = ""
is_product = false

if (flutter_runtime_mode == "release") {
product_suffix = "product_"
is_product = true
}

fuchsia_host_bundle("flutter_binaries") {
Expand All @@ -35,7 +33,7 @@ fuchsia_host_bundle("dart_binaries") {
name = "dart_binaries"

_gen_snapshot_to_use = gen_snapshot + "($host_toolchain)"
if (is_product) {
if (flutter_runtime_mode == "release") {
_gen_snapshot_to_use = gen_snapshot_product + "($host_toolchain)"
}

Expand Down
8 changes: 4 additions & 4 deletions shell/platform/fuchsia/dart_runner/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ runner("dart_jit_product_runner_bin") {
product = true
extra_defines = [ "DART_PRODUCT" ]
extra_deps = [
"//third_party/dart/runtime:libdart_jit_product",
"//third_party/dart/runtime/platform:libdart_platform_jit_product",
"//third_party/dart/runtime:libdart_jit",
"//third_party/dart/runtime/platform:libdart_platform_jit",
]
}

Expand All @@ -121,8 +121,8 @@ runner("dart_aot_product_runner_bin") {
]
extra_deps = [
"embedder:dart_aot_product_snapshot_cc",
"//third_party/dart/runtime:libdart_precompiled_runtime_product",
"//third_party/dart/runtime/platform:libdart_platform_precompiled_runtime_product",
"//third_party/dart/runtime:libdart_precompiled_runtime",
"//third_party/dart/runtime/platform:libdart_platform_precompiled_runtime",
]
}

Expand Down
8 changes: 4 additions & 4 deletions shell/platform/fuchsia/flutter/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ flutter_runner("jit_product") {
product = true

extra_deps = [
"//third_party/dart/runtime:libdart_jit_product",
"//third_party/dart/runtime/platform:libdart_platform_jit_product",
"//third_party/dart/runtime:libdart_jit",
"//third_party/dart/runtime/platform:libdart_platform_jit",
]
}

Expand All @@ -249,8 +249,8 @@ flutter_runner("aot_product") {
product = true

extra_deps = [
"//third_party/dart/runtime:libdart_precompiled_runtime_product",
"//third_party/dart/runtime/platform:libdart_platform_precompiled_runtime_product",
"//third_party/dart/runtime:libdart_precompiled_runtime",
"//third_party/dart/runtime/platform:libdart_platform_precompiled_runtime",
]
}

Expand Down