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:
@@ -396,8 +396,6 @@ void main() {
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--no-checked',
|
||||
'--conditional_directives',
|
||||
'--snapshot_kind=app-aot-assembly',
|
||||
'--assembly=${fs.path.join(outputPath, 'snapshot_assembly.S')}',
|
||||
'main.dill',
|
||||
|
||||
Reference in New Issue
Block a user