Merge "releasetools: Allow creating target_files with ZIP64." am: 794c69e603 am: cfab69eb32

am: 59c8c55611

Change-Id: Ibf5b7b4abbb4477fa1d23f15af443ad66772e906
This commit is contained in:
Tao Bao 2016-08-22 19:18:21 +00:00 committed by android-build-merger
commit ae3fdd2436
1 changed files with 2 additions and 1 deletions

View File

@ -352,7 +352,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")