Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
492d5726
Unverified
Commit
492d5726
authored
Jan 20, 2023
by
Alexander Markov
Committed by
GitHub
Jan 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup obsolete --compact-async compiler option (#118894)
parent
ec6ff90a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
compile.dart
packages/flutter_tools/lib/src/compile.dart
+0
-2
compile_batch_test.dart
.../flutter_tools/test/general.shard/compile_batch_test.dart
+0
-2
compile_test.dart
packages/flutter_tools/test/general.shard/compile_test.dart
+0
-2
No files found.
packages/flutter_tools/lib/src/compile.dart
View file @
492d5726
...
@@ -21,8 +21,6 @@ import 'convert.dart';
...
@@ -21,8 +21,6 @@ import 'convert.dart';
/// Opt-in changes to the dart compilers.
/// Opt-in changes to the dart compilers.
const
List
<
String
>
kDartCompilerExperiments
=
<
String
>[
const
List
<
String
>
kDartCompilerExperiments
=
<
String
>[
// improve AOT code size.
'--compact-async'
,
];
];
/// The target model describes the set of core libraries that are available within
/// The target model describes the set of core libraries that are available within
...
...
packages/flutter_tools/test/general.shard/compile_batch_test.dart
View file @
492d5726
...
@@ -200,7 +200,6 @@ void main() {
...
@@ -200,7 +200,6 @@ void main() {
'--no-print-incremental-dependencies'
,
'--no-print-incremental-dependencies'
,
'-Ddart.vm.profile=true'
,
'-Ddart.vm.profile=true'
,
'-Ddart.vm.product=false'
,
'-Ddart.vm.product=false'
,
'--compact-async'
,
'--no-link-platform'
,
'--no-link-platform'
,
'--aot'
,
'--aot'
,
'--tfa'
,
'--tfa'
,
...
@@ -249,7 +248,6 @@ void main() {
...
@@ -249,7 +248,6 @@ void main() {
'--no-print-incremental-dependencies'
,
'--no-print-incremental-dependencies'
,
'-Ddart.vm.profile=false'
,
'-Ddart.vm.profile=false'
,
'-Ddart.vm.product=true'
,
'-Ddart.vm.product=true'
,
'--compact-async'
,
'--no-link-platform'
,
'--no-link-platform'
,
'--aot'
,
'--aot'
,
'--tfa'
,
'--tfa'
,
...
...
packages/flutter_tools/test/general.shard/compile_test.dart
View file @
492d5726
...
@@ -105,13 +105,11 @@ void main() {
...
@@ -105,13 +105,11 @@ void main() {
testWithoutContext
(
'buildModeOptions removes matching profile define in profile mode'
,
()
{
testWithoutContext
(
'buildModeOptions removes matching profile define in profile mode'
,
()
{
expect
(
buildModeOptions
(
BuildMode
.
profile
,
<
String
>[
'dart.vm.profile=true'
]),
<
String
>[
expect
(
buildModeOptions
(
BuildMode
.
profile
,
<
String
>[
'dart.vm.profile=true'
]),
<
String
>[
'-Ddart.vm.product=false'
,
'-Ddart.vm.product=false'
,
'--compact-async'
]);
]);
});
});
testWithoutContext
(
'buildModeOptions removes both matching profile and release define in profile mode'
,
()
{
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
>[
expect
(
buildModeOptions
(
BuildMode
.
profile
,
<
String
>[
'dart.vm.profile=false'
,
'dart.vm.product=true'
]),
<
String
>[
'--compact-async'
]);
]);
});
});
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment