Merge "releasetools: Ignore nonexistent APEX overrides."

This commit is contained in:
Tao Bao
2019-07-12 14:42:37 +00:00
committed by Gerrit Code Review

View File

@@ -188,6 +188,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.