Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: scripts/common/chromium_utils.py

Issue 12212073: Allows Zip64 extensions. (Closed) Base URL: https://git.chromium.org/git/chromium/tools/build.git@master
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/common/chromium_utils.py
diff --git a/scripts/common/chromium_utils.py b/scripts/common/chromium_utils.py
index 69a129126dc15f0bedcd77af6766a17e09c8d3c1..065236f262303bd5e93542842f16de36cfd95040 100644
--- a/scripts/common/chromium_utils.py
+++ b/scripts/common/chromium_utils.py
@@ -580,7 +580,8 @@ def MakeZip(output_dir, archive_name, file_list, file_relative_dir,
compress_method = zipfile.ZIP_DEFLATED
to_zip_file.write(this_path, archive_name, compress_method)
print 'Adding %s' % archive_name
- zip_file = zipfile.ZipFile(output_file, 'w', zipfile.ZIP_DEFLATED)
+ zip_file = zipfile.ZipFile(output_file, 'w', zipfile.ZIP_DEFLATED,
+ allowZip64=True)
try:
os.path.walk(archive_dir, _Addfiles, zip_file)
finally:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698