Revert "Zip FlutterMacOS.framework. (#35623)" (flutter/engine#35680)

This reverts commit eb8b77ae0c.
This commit is contained in:
Zachary Anderson
2022-08-24 13:24:16 -07:00
committed by GitHub
parent c647335371
commit f8de5afa39

View File

@@ -102,9 +102,10 @@ def process_framework(dst, args, fat_framework, fat_framework_binary):
dsym_out = os.path.splitext(fat_framework)[0] + '.dSYM'
subprocess.check_call([DSYMUTIL, '-o', dsym_out, fat_framework_binary])
subprocess.check_call([
'zip', '-r', 'FlutterMacOS.dSYM.zip', 'FlutterMacOS.dSYM'
],
cwd=dst)
'zip', '-r',
'%s/FlutterMacOS.dSYM.zip' % dst,
'%s/FlutterMacOS.dSYM/Contents' % dst
])
if args.strip:
# copy unstripped
@@ -113,12 +114,6 @@ def process_framework(dst, args, fat_framework, fat_framework_binary):
subprocess.check_call(["strip", "-x", "-S", fat_framework_binary])
# Zip FlutterMacOS.framework.
subprocess.check_call([
'zip', '-r', 'FlutterMacOS.framework.zip', 'FlutterMacOS.framework'
],
cwd=dst)
if __name__ == '__main__':
sys.exit(main())