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:
Chinmay Garde 2019-05-28 12:42:53 -07:00 committed by GitHub
parent cb46fb503f
commit 5efe381d1d

View File

@ -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" ]
}