Fix unopt variants of profile and release builds. (#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 867120c0c7
commit 7e1788acda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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