[flutter_tools] simplify symbol logic for iOS (#49628)

This commit is contained in:
Jonah Williams
2020-01-29 13:43:23 -08:00
committed by GitHub
parent de7da494a1
commit cb3b7ab487
4 changed files with 6 additions and 65 deletions

View File

@@ -138,11 +138,7 @@ class AOTSnapshotter {
outputPaths.add(assembly);
genSnapshotArgs.add('--snapshot_kind=app-aot-assembly');
genSnapshotArgs.add('--assembly=$assembly');
// TODO(jonahwilliams): determine the correct time to use strip
// since this is required for the future dwarf strack traces option.
if (bitcode && buildMode == BuildMode.release) {
genSnapshotArgs.add('--strip');
}
genSnapshotArgs.add('--strip');
} else {
final String aotSharedLibrary = globals.fs.path.join(outputDir.path, 'app.so');
outputPaths.add(aotSharedLibrary);