Unverified Commit 3233252c authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] only apply --strip to iOS gen_snapshot in release mode (#49596)

parent afa24b1a
...@@ -139,7 +139,7 @@ class AOTSnapshotter { ...@@ -139,7 +139,7 @@ class AOTSnapshotter {
genSnapshotArgs.add('--assembly=$assembly'); genSnapshotArgs.add('--assembly=$assembly');
// TODO(jonahwilliams): determine the correct time to use strip // TODO(jonahwilliams): determine the correct time to use strip
// since this is required for the future dwarf strack traces option. // since this is required for the future dwarf strack traces option.
if (bitcode) { if (bitcode && buildMode == BuildMode.release) {
genSnapshotArgs.add('--strip'); genSnapshotArgs.add('--strip');
} }
} else { } else {
......
...@@ -326,7 +326,6 @@ void main() { ...@@ -326,7 +326,6 @@ void main() {
'--deterministic', '--deterministic',
'--snapshot_kind=app-aot-assembly', '--snapshot_kind=app-aot-assembly',
'--assembly=$assembly', '--assembly=$assembly',
'--strip',
'--no-sim-use-hardfp', '--no-sim-use-hardfp',
'--no-use-integer-division', '--no-use-integer-division',
'--no-causal-async-stacks', '--no-causal-async-stacks',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment