From eb1830331af6981c5a5dd95d6e9a00c4c00953a4 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Tue, 11 Apr 2023 19:03:04 -0700 Subject: [PATCH] Fixes to strip symbols correctly. (flutter/engine#41097) Fixes to strip symbols correctly. --- engine/src/flutter/sky/tools/create_full_ios_framework.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/sky/tools/create_full_ios_framework.py b/engine/src/flutter/sky/tools/create_full_ios_framework.py index 6594b0f6d5..3c1e0f979c 100644 --- a/engine/src/flutter/sky/tools/create_full_ios_framework.py +++ b/engine/src/flutter/sky/tools/create_full_ios_framework.py @@ -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