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

am: cfab69eb32

Change-Id: Ia63006b29593301c8e5a4f5bfec28eb515d43e60
This commit is contained in:
Tao Bao
2016-08-22 19:14:21 +00:00
committed by android-build-merger

View File

@@ -316,7 +316,8 @@ def AddImagesToTargetFiles(filename):
common.ZipClose(input_zip) common.ZipClose(input_zip)
output_zip = zipfile.ZipFile(filename, "a", 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") has_recovery = (OPTIONS.info_dict.get("no_recovery") != "true")
system_root_image = (OPTIONS.info_dict.get("system_root_image", None) == "true") system_root_image = (OPTIONS.info_dict.get("system_root_image", None) == "true")