mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Cleanup obsolete --compact-async compiler option (#118894)
This commit is contained in:
parent
ec6ff90ab0
commit
492d57262f
@ -21,8 +21,6 @@ import 'convert.dart';
|
||||
|
||||
/// Opt-in changes to the dart compilers.
|
||||
const List<String> kDartCompilerExperiments = <String>[
|
||||
// improve AOT code size.
|
||||
'--compact-async',
|
||||
];
|
||||
|
||||
/// The target model describes the set of core libraries that are available within
|
||||
|
||||
@ -200,7 +200,6 @@ void main() {
|
||||
'--no-print-incremental-dependencies',
|
||||
'-Ddart.vm.profile=true',
|
||||
'-Ddart.vm.product=false',
|
||||
'--compact-async',
|
||||
'--no-link-platform',
|
||||
'--aot',
|
||||
'--tfa',
|
||||
@ -249,7 +248,6 @@ void main() {
|
||||
'--no-print-incremental-dependencies',
|
||||
'-Ddart.vm.profile=false',
|
||||
'-Ddart.vm.product=true',
|
||||
'--compact-async',
|
||||
'--no-link-platform',
|
||||
'--aot',
|
||||
'--tfa',
|
||||
|
||||
@ -105,13 +105,11 @@ void main() {
|
||||
testWithoutContext('buildModeOptions removes matching profile define in profile mode', () {
|
||||
expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=true']), <String>[
|
||||
'-Ddart.vm.product=false',
|
||||
'--compact-async'
|
||||
]);
|
||||
});
|
||||
|
||||
testWithoutContext('buildModeOptions removes both matching profile and release define in profile mode', () {
|
||||
expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=false', 'dart.vm.product=true']), <String>[
|
||||
'--compact-async'
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user