Merge "releasetools: Allow creating target_files with ZIP64."

am: 794c69e603

Change-Id: I94eac12de16cac4e4034d933f83fbfa61ca20591
This commit is contained in:
Tao Bao 2016-08-22 19:09:55 +00:00 committed by android-build-merger
commit cfab69eb32
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")