Fixes to strip symbols correctly. (flutter/engine#41097)

Fixes to strip symbols correctly.
This commit is contained in:
godofredoc
2023-04-11 19:03:04 -07:00
committed by GitHub
parent eb9fe95251
commit eb1830331a

View File

@@ -104,8 +104,6 @@ def main():
args, dst, framework, arm64_framework, simulator_framework,
simulator_x64_framework, simulator_arm64_framework
)
framework_binary = os.path.join(framework, 'Flutter')
process_framework(args, dst, framework, framework_binary)
generate_gen_snapshot(args, dst, x64_out_dir, arm64_out_dir)
zip_archive(dst)
return 0
@@ -129,6 +127,7 @@ def create_framework( # pylint: disable=too-many-arguments
shutil.rmtree(framework, True)
shutil.copytree(arm64_framework, framework)
framework_binary = os.path.join(framework, 'Flutter')
process_framework(args, dst, framework, framework_binary)
if args.simulator_arm64_out_dir is not None:
shutil.rmtree(simulator_framework, True)
@@ -159,6 +158,7 @@ def create_framework( # pylint: disable=too-many-arguments
framework_binary
])
process_framework(args, dst, framework, framework_binary)
return 0