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 1c3cc0d3bc..37d4340bbd 100644 --- a/engine/src/flutter/sky/tools/create_full_ios_framework.py +++ b/engine/src/flutter/sky/tools/create_full_ios_framework.py @@ -33,7 +33,6 @@ def main(): ) parser.add_argument('--dst', type=str, required=True) - parser.add_argument('--clang-dir', type=str, default='clang_x64') parser.add_argument('--x64-out-dir', type=str) parser.add_argument('--arm64-out-dir', type=str, required=True) parser.add_argument('--simulator-x64-out-dir', type=str, required=True) @@ -102,7 +101,7 @@ def main(): '%s_extension_safe' % simulator_x64_out_dir, '%s_extension_safe' % simulator_arm64_out_dir ) - generate_gen_snapshot(args, dst, x64_out_dir, arm64_out_dir) + generate_gen_snapshot(dst, x64_out_dir, arm64_out_dir) zip_archive(dst) return 0 @@ -229,13 +228,13 @@ def process_framework(args, dst, framework, framework_binary): subprocess.check_call(['strip', '-x', '-S', framework_binary]) -def generate_gen_snapshot(args, dst, x64_out_dir, arm64_out_dir): +def generate_gen_snapshot(dst, x64_out_dir, arm64_out_dir): if x64_out_dir: _generate_gen_snapshot(x64_out_dir, os.path.join(dst, 'gen_snapshot_x64')) if arm64_out_dir: _generate_gen_snapshot( - os.path.join(arm64_out_dir, args.clang_dir), os.path.join(dst, 'gen_snapshot_arm64') + os.path.join(arm64_out_dir, 'clang_x64'), os.path.join(dst, 'gen_snapshot_arm64') )