|
@@ -36,6 +36,8 @@ def main():
|
|
|
dsym_zip_file = os.path.join(args.build_dir, dsym_name)
|
|
|
print('Making dsym zip: ' + dsym_zip_file)
|
|
|
make_zip(dsym_zip_file, licenses, dsyms)
|
|
|
+ if len(dsyms) > 0 and 'DELETE_DSYMS_AFTER_ZIP' in os.environ:
|
|
|
+ execute(['rm', '-rf'] + dsyms)
|
|
|
elif PLATFORM == 'win32':
|
|
|
pdb_name = 'pdb.zip'
|
|
|
with scoped_cwd(args.build_dir):
|