Merge "releasetools: Allow creating target_files with ZIP64."

This commit is contained in:
Treehugger Robot 2016-08-22 18:59:13 +00:00 committed by Gerrit Code Review
commit 794c69e603
1 changed files with 2 additions and 1 deletions

View File

@ -316,7 +316,8 @@ def AddImagesToTargetFiles(filename):
common.ZipClose(input_zip)
output_zip = zipfile.ZipFile(filename, "a",
compression=zipfile.ZIP_DEFLATED)
compression=zipfile.ZIP_DEFLATED,
allowZip64=True)
has_recovery = (OPTIONS.info_dict.get("no_recovery") != "true")
system_root_image = (OPTIONS.info_dict.get("system_root_image", None) == "true")