[flutter_tools] only strip when bitcode is enabled (#49595)
This commit is contained in:
@@ -137,7 +137,11 @@ class AOTSnapshotter {
|
||||
outputPaths.add(assembly);
|
||||
genSnapshotArgs.add('--snapshot_kind=app-aot-assembly');
|
||||
genSnapshotArgs.add('--assembly=$assembly');
|
||||
genSnapshotArgs.add('--strip');
|
||||
// TODO(jonahwilliams): determine the correct time to use strip
|
||||
// since this is required for the future dwarf strack traces option.
|
||||
if (bitcode) {
|
||||
genSnapshotArgs.add('--strip');
|
||||
}
|
||||
} else {
|
||||
final String aotSharedLibrary = globals.fs.path.join(outputDir.path, 'app.so');
|
||||
outputPaths.add(aotSharedLibrary);
|
||||
|
||||
Reference in New Issue
Block a user