aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2019-01-11 17:18:49 -0600
committerGerrit Code Review2019-01-11 17:18:49 -0600
commit774c0f92bfb1a79b0abc5b60bc14cb5d1075f841 (patch)
tree68d4977ea7c0ebd09ae4ceef2c9e4430793dec87
parentdd95cf51fa2a64c0cf0d19e0edb2d17e9e06df0f (diff)
parent33bf268e0b031d140a8aa14c3e333d29522a7b20 (diff)
downloadplatform-build-774c0f92bfb1a79b0abc5b60bc14cb5d1075f841.tar.gz
platform-build-774c0f92bfb1a79b0abc5b60bc14cb5d1075f841.tar.xz
platform-build-774c0f92bfb1a79b0abc5b60bc14cb5d1075f841.zip
Merge "releasetools: Skip copying split super images while signing."
-rwxr-xr-xtools/releasetools/sign_target_files_apks.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/releasetools/sign_target_files_apks.py b/tools/releasetools/sign_target_files_apks.py
index de3ead61c..a07f67fd4 100755
--- a/tools/releasetools/sign_target_files_apks.py
+++ b/tools/releasetools/sign_target_files_apks.py
@@ -309,6 +309,10 @@ def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,
309 if filename.startswith("IMAGES/"): 309 if filename.startswith("IMAGES/"):
310 continue 310 continue
311 311
312 # Skip split super images, which will be re-generated during signing.
313 if filename.startswith("OTA/") and filename.endswith(".img"):
314 continue
315
312 data = input_tf_zip.read(filename) 316 data = input_tf_zip.read(filename)
313 out_info = copy.copy(info) 317 out_info = copy.copy(info)
314 (is_apk, is_compressed, should_be_skipped) = GetApkFileInfo( 318 (is_apk, is_compressed, should_be_skipped) = GetApkFileInfo(