Merge "releasetools: Ignore nonexistent APEX overrides." into qt-dev

This commit is contained in:
TreeHugger Robot 2019-07-11 23:03:00 +00:00 committed by Android (Google) Code Review
commit a6935cc16a
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ def GetApexKeys(keys_info, key_map):
for apex, key in OPTIONS.extra_apex_payload_keys.items():
if not key:
key = 'PRESIGNED'
if apex not in keys_info:
logger.warning('Failed to find %s in target_files; Ignored', apex)
continue
keys_info[apex] = (key, keys_info[apex][1])
# Apply the key remapping to container keys.