mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix unopt variants of profile and release builds. (flutter/engine#9107)
This fixes a regression I introduced in https://github.com/flutter/engine/pull/8869 while preparing the buildroot for Fuchsia.
This commit is contained in:
parent
cb46fb503f
commit
5efe381d1d
@ -58,7 +58,8 @@ compiled_action("generate_snapshot_bin") {
|
||||
rebase_path(isolate_snapshot_instructions),
|
||||
]
|
||||
|
||||
if (is_debug) {
|
||||
if (is_debug && flutter_runtime_mode != "profile" &&
|
||||
flutter_runtime_mode != "release") {
|
||||
args += [ "--enable_asserts" ]
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user