Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfab69eb authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "releasetools: Allow creating target_files with ZIP64."

am: 794c69e6

Change-Id: I94eac12de16cac4e4034d933f83fbfa61ca20591
parents 94a2c5f6 794c69e6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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")