Skip to content

Commit 492d572

Browse files
authored
Cleanup obsolete --compact-async compiler option (#118894)
1 parent ec6ff90 commit 492d572

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

packages/flutter_tools/lib/src/compile.dart

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import 'convert.dart';
2121

2222
/// Opt-in changes to the dart compilers.
2323
const List<String> kDartCompilerExperiments = <String>[
24-
// improve AOT code size.
25-
'--compact-async',
2624
];
2725

2826
/// The target model describes the set of core libraries that are available within

packages/flutter_tools/test/general.shard/compile_batch_test.dart

-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ void main() {
200200
'--no-print-incremental-dependencies',
201201
'-Ddart.vm.profile=true',
202202
'-Ddart.vm.product=false',
203-
'--compact-async',
204203
'--no-link-platform',
205204
'--aot',
206205
'--tfa',
@@ -249,7 +248,6 @@ void main() {
249248
'--no-print-incremental-dependencies',
250249
'-Ddart.vm.profile=false',
251250
'-Ddart.vm.product=true',
252-
'--compact-async',
253251
'--no-link-platform',
254252
'--aot',
255253
'--tfa',

packages/flutter_tools/test/general.shard/compile_test.dart

-2
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,11 @@ void main() {
105105
testWithoutContext('buildModeOptions removes matching profile define in profile mode', () {
106106
expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=true']), <String>[
107107
'-Ddart.vm.product=false',
108-
'--compact-async'
109108
]);
110109
});
111110

112111
testWithoutContext('buildModeOptions removes both matching profile and release define in profile mode', () {
113112
expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=false', 'dart.vm.product=true']), <String>[
114-
'--compact-async'
115113
]);
116114
});
117115
}

0 commit comments

Comments
 (0)