Correct profile-mode AOT snapshot flags (#17435)

Previously, in non-release (i.e. profile) AOT builds, we were setting
--no-checked and --conditional_directives flags. --no-checked is the
default, and we don't make use of conditional directives in Flutter.
This commit is contained in:
Chris Bracken
2018-05-09 12:31:36 -07:00
committed by GitHub
parent e4f553324a
commit 1c27a458a8
2 changed files with 0 additions and 8 deletions

View File

@@ -194,12 +194,6 @@ class AOTSnapshotter {
'--strong',
]);
}
if (buildMode != BuildMode.release) {
genSnapshotArgs.addAll(<String>[
'--no-checked',
'--conditional_directives',
]);
}
if (extraGenSnapshotOptions != null && extraGenSnapshotOptions.isNotEmpty) {
printTrace('Extra gen_snapshot options: $extraGenSnapshotOptions');
genSnapshotArgs.addAll(extraGenSnapshotOptions);