summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2018-11-09 05:52:26 +0900
committer Jiyong Park <jiyong@google.com> 2018-11-09 05:55:32 +0900
commitfa0a37365b1f1536d8d66e996da827f9ceb88211 (patch)
tree4e4f15bb1d8989ef494335cb90dcb0d8efcaabbf /java/java_test.go
parent8a89f217469db23b58fe6050af26b83041f4dc4d (diff)
Fail gracefully when apek_key is not found
When the private key file can not be obtained, e.g., due to missing git project where the apex_key module is defined, fail gracefully with an error message instead of panicing. Bug: 119256776 Test: modify the key property in /systme/apex/Android.bp to apex.test.key2 and run `ALLOW_MISSING_DEPENDENCIES=true m apex.test` The build fails with error: system/apex/Android.bp:32:8: module "apex.test" variant "android_common_apex.test": key: private_key for "apex.test.key2" could not be found Change-Id: I2cd5fed0f046de1f0b380fbdac5f8b82816b0e24
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions