Merge "releasetools: Skip copying split super images while signing." am: 774c0f92bf

am: 2db2039202

Change-Id: Ie73f72e7c7eb460156a160361c385aa6c881658e
This commit is contained in:
Tao Bao 2019-01-11 15:51:22 -08:00 committed by android-build-merger
commit f2cc65ba23
1 changed files with 4 additions and 0 deletions

View File

@ -309,6 +309,10 @@ def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,
if filename.startswith("IMAGES/"):
continue
# Skip split super images, which will be re-generated during signing.
if filename.startswith("OTA/") and filename.endswith(".img"):
continue
data = input_tf_zip.read(filename)
out_info = copy.copy(info)
(is_apk, is_compressed, should_be_skipped) = GetApkFileInfo(