Zip the dsym artifacts. (flutter/engine#35075)

This commit is contained in:
godofredoc
2022-08-02 11:13:04 -07:00
committed by GitHub
parent ff46c634a2
commit f9969e3e34

View File

@@ -101,6 +101,11 @@ def process_framework(dst, args, fat_framework, fat_framework_binary):
if args.dsym:
dsym_out = os.path.splitext(fat_framework)[0] + '.dSYM'
subprocess.check_call([DSYMUTIL, '-o', dsym_out, fat_framework_binary])
subprocess.check_call([
'zip', '-r',
'%s/FlutterMacOS.dSYM.zip' % dst,
'%s/FlutterMacOS.dSYM/Contents' % dst
])
if args.strip:
# copy unstripped