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

am: 774c0f92bf

Change-Id: I6c88a82476f9b3d4febb71f98e4c9a118a3d67d3
This commit is contained in:
Tao Bao 2019-01-11 15:33:40 -08:00 committed by android-build-merger
commit 2db2039202
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(