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
625ecda0
Unverified
Commit
625ecda0
authored
Dec 03, 2020
by
Martin Kustermann
Committed by
GitHub
Dec 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove left-overs from causal async stacks. (#71663)
parent
20ca6997
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
60 deletions
+0
-60
build.dart
packages/flutter_tools/lib/src/base/build.dart
+0
-2
compile.dart
packages/flutter_tools/lib/src/compile.dart
+0
-2
fuchsia_build.dart
packages/flutter_tools/lib/src/fuchsia/fuchsia_build.dart
+0
-2
fuchsia_kernel_compiler.dart
...lutter_tools/lib/src/fuchsia/fuchsia_kernel_compiler.dart
+0
-1
build_test.dart
...ges/flutter_tools/test/general.shard/base/build_test.dart
+0
-20
android_test.dart
...test/general.shard/build_system/targets/android_test.dart
+0
-6
common_test.dart
.../test/general.shard/build_system/targets/common_test.dart
+0
-21
compile_batch_test.dart
.../flutter_tools/test/general.shard/compile_batch_test.dart
+0
-6
No files found.
packages/flutter_tools/lib/src/base/build.dart
View file @
625ecda0
...
...
@@ -180,8 +180,6 @@ class AOTSnapshotter {
// Optimization arguments.
genSnapshotArgs
.
addAll
(<
String
>[
// Faster async/await
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
if
(
shouldSplitDebugInfo
)
...<
String
>[
'--dwarf-stack-traces'
,
'--save-debugging-info=
${_fileSystem.path.join(splitDebugInfo, debugFilename)}
'
...
...
packages/flutter_tools/lib/src/compile.dart
View file @
625ecda0
...
...
@@ -241,7 +241,6 @@ class KernelCompiler {
sdkRoot
,
'--target=
$targetModel
'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=
${buildMode == BuildMode.debug}
'
,
for
(
final
Object
dartDefine
in
dartDefines
)
'-D
$dartDefine
'
,
...
buildModeOptions
(
buildMode
,
dartDefines
),
...
...
@@ -660,7 +659,6 @@ class DefaultResidentCompiler implements ResidentCompiler {
// in the frontend_server.
// https://github.com/flutter/flutter/issues/59902
'--experimental-emit-debug-metadata'
,
'-Ddart.developer.causal_async_stacks=
${buildMode == BuildMode.debug}
'
,
for
(
final
Object
dartDefine
in
dartDefines
)
'-D
$dartDefine
'
,
if
(
outputPath
!=
null
)
...<
String
>[
...
...
packages/flutter_tools/lib/src/fuchsia/fuchsia_build.dart
View file @
625ecda0
...
...
@@ -91,8 +91,6 @@ Future<void> _genSnapshot(
final
List
<
String
>
command
=
<
String
>[
genSnapshot
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'--deterministic'
,
'--snapshot_kind=app-aot-elf'
,
'--elf=
$elf
'
,
...
...
packages/flutter_tools/lib/src/fuchsia/fuchsia_kernel_compiler.dart
View file @
625ecda0
...
...
@@ -115,7 +115,6 @@ class FuchsiaKernelCompiler {
'-Ddart.vm.profile=false'
,
'-Ddart.vm.product=true'
,
],
'-Ddart.developer.causal_async_stacks=
${buildInfo.isDebug}
'
,
for
(
final
String
dartDefine
in
buildInfo
.
dartDefines
)
'-D
$dartDefine
'
,
...
...
packages/flutter_tools/test/general.shard/base/build_test.dart
View file @
625ecda0
...
...
@@ -273,8 +273,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'main.dill'
,
]),
kWhichSysctlCommand
,
...
...
@@ -332,8 +330,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'--dwarf-stack-traces'
,
'--save-debugging-info=
$debugPath
'
,
'main.dill'
,
...
...
@@ -391,8 +387,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'--obfuscate'
,
'main.dill'
,
]),
...
...
@@ -449,8 +443,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'main.dill'
,
]),
kWhichSysctlCommand
,
...
...
@@ -503,8 +495,6 @@ void main() {
'--snapshot_kind=app-aot-assembly'
,
'--assembly=
${fileSystem.path.join(outputPath, 'snapshot_assembly.S')}
'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'main.dill'
,
]),
kWhichSysctlCommand
,
...
...
@@ -557,8 +547,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'main.dill'
,
]
));
...
...
@@ -589,8 +577,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'--dwarf-stack-traces'
,
'--save-debugging-info=
$debugPath
'
,
'main.dill'
,
...
...
@@ -622,8 +608,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'--obfuscate'
,
'main.dill'
,
]
...
...
@@ -654,8 +638,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'main.dill'
,
]
));
...
...
@@ -683,8 +665,6 @@ void main() {
'--snapshot_kind=app-aot-elf'
,
'--elf=build/foo/app.so'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'main.dill'
,
]
));
...
...
packages/flutter_tools/test/general.shard/build_system/targets/android_test.dart
View file @
625ecda0
...
...
@@ -191,8 +191,6 @@ void main() {
'--snapshot_kind=app-aot-elf'
,
'--elf=
${environment.buildDir.childDirectory('arm64-v8a').childFile('app.so').path}
'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
environment
.
buildDir
.
childFile
(
'app.dill'
).
path
,
],
));
...
...
@@ -235,8 +233,6 @@ void main() {
'--snapshot_kind=app-aot-elf'
,
'--elf=
${environment.buildDir.childDirectory('arm64-v8a').childFile('app.so').path}
'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
environment
.
buildDir
.
childFile
(
'app.dill'
).
path
,
],
));
...
...
@@ -282,8 +278,6 @@ void main() {
'--snapshot_kind=app-aot-elf'
,
'--elf=
${environment.buildDir.childDirectory('arm64-v8a').childFile('app.so').path}
'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
environment
.
buildDir
.
childFile
(
'app.dill'
).
path
],
));
...
...
packages/flutter_tools/test/general.shard/build_system/targets/common_test.dart
View file @
625ecda0
...
...
@@ -89,7 +89,6 @@ void main() {
)
+
'/'
,
'--target=flutter'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=false'
,
...
buildModeOptions
(
BuildMode
.
profile
,
<
String
>[]),
'--aot'
,
'--tfa'
,
...
...
@@ -126,7 +125,6 @@ void main() {
)
+
'/'
,
'--target=flutter'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=false'
,
...
buildModeOptions
(
BuildMode
.
profile
,
<
String
>[]),
'--aot'
,
'--tfa'
,
...
...
@@ -163,7 +161,6 @@ void main() {
)
+
'/'
,
'--target=flutter'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=false'
,
...
buildModeOptions
(
BuildMode
.
profile
,
<
String
>[]),
'--aot'
,
'--tfa'
,
...
...
@@ -201,7 +198,6 @@ void main() {
)
+
'/'
,
'--target=flutter'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=false'
,
...
buildModeOptions
(
BuildMode
.
profile
,
<
String
>[]),
'--aot'
,
'--tfa'
,
...
...
@@ -241,7 +237,6 @@ void main() {
)
+
'/'
,
'--target=flutter'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=true'
,
...
buildModeOptions
(
BuildMode
.
debug
,
<
String
>[]),
'--no-link-platform'
,
'--packages'
,
...
...
@@ -279,7 +274,6 @@ void main() {
)
+
'/'
,
'--target=flutter'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=true'
,
...
buildModeOptions
(
BuildMode
.
debug
,
<
String
>[]),
'--packages'
,
'/.dart_tool/package_config.json'
,
...
...
@@ -329,7 +323,6 @@ void main() {
)
+
'/'
,
'--target=flutter'
,
'--no-print-incremental-dependencies'
,
'-Ddart.developer.causal_async_stacks=true'
,
...
buildModeOptions
(
BuildMode
.
debug
,
<
String
>[]),
'--track-widget-creation'
,
'--no-link-platform'
,
...
...
@@ -363,8 +356,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'
$build
/app.dill'
,
])
]);
...
...
@@ -393,8 +384,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'
$build
/app.dill'
,
])
]);
...
...
@@ -463,8 +452,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'
$build
/app.dill'
,
]),
FakeCommand
(
command:
<
String
>[
...
...
@@ -474,8 +461,6 @@ void main() {
kAssemblyAot
,
'--assembly=
$build
/arm64/snapshot_assembly.S'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'
$build
/app.dill'
,
]),
FakeCommand
(
command:
<
String
>[
...
...
@@ -582,8 +567,6 @@ void main() {
kAssemblyAot
,
'--assembly=
$build
/arm64/snapshot_assembly.S'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'
$build
/app.dill'
,
]),
FakeCommand
(
command:
<
String
>[
...
...
@@ -659,8 +642,6 @@ void main() {
kAssemblyAot
,
'--assembly=
$build
/arm64/snapshot_assembly.S'
,
'--strip'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'
$build
/app.dill'
,
]),
FakeCommand
(
command:
<
String
>[
...
...
@@ -741,8 +722,6 @@ void main() {
'--strip'
,
'--no-sim-use-hardfp'
,
'--no-use-integer-division'
,
'--no-causal-async-stacks'
,
'--lazy-async-stacks'
,
'
$build
/app.dill'
,
]),
]);
...
...
packages/flutter_tools/test/general.shard/compile_batch_test.dart
View file @
625ecda0
...
...
@@ -75,10 +75,6 @@ void main() {
expect
(
mockFrontendServerStdIn
.
getAndClear
(),
isEmpty
);
expect
(
logger
.
errorText
,
equals
(
'line1
\n
line2
\n
'
));
expect
(
output
.
outputFilename
,
equals
(
'/path/to/main.dart.dill'
));
final
VerificationResult
argVerification
=
verify
(
mockProcessManager
.
start
(
captureAny
));
expect
(
argVerification
.
captured
.
single
,
containsAll
(<
String
>[
'-Ddart.developer.causal_async_stacks=true'
,
]));
});
testWithoutContext
(
'passes correct AOT config to kernel compiler in aot/profile mode'
,
()
async
{
...
...
@@ -113,7 +109,6 @@ void main() {
'--tfa'
,
'-Ddart.vm.profile=true'
,
'-Ddart.vm.product=false'
,
'-Ddart.developer.causal_async_stacks=false'
,
]));
});
...
...
@@ -149,7 +144,6 @@ void main() {
'--tfa'
,
'-Ddart.vm.profile=false'
,
'-Ddart.vm.product=true'
,
'-Ddart.developer.causal_async_stacks=false'
,
]));
});
...
...
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