Build snapshots with --sync-async to match the engine. (#19495)
Bug: https://github.com/flutter/flutter/issues/19494
This commit is contained in:
@@ -199,6 +199,7 @@ class AOTSnapshotter {
|
||||
genSnapshotArgs.addAll(<String>[
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--sync-async',
|
||||
]);
|
||||
}
|
||||
if (extraGenSnapshotOptions != null && extraGenSnapshotOptions.isNotEmpty) {
|
||||
@@ -443,6 +444,7 @@ class CoreJITSnapshotter {
|
||||
final List<String> genSnapshotArgs = <String>[
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--sync-async',
|
||||
];
|
||||
if (buildMode == BuildMode.debug) {
|
||||
genSnapshotArgs.add('--enable_asserts');
|
||||
|
||||
Reference in New Issue
Block a user