summaryrefslogtreecommitdiff
path: root/scripts/hiddenapi/generate_hiddenapi_lists_test.py
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-02-08 10:14:04 -0800
committerColin Cross <ccross@android.com>2021-02-08 10:14:04 -0800
commitd97cf63cdf31cd7b78cdabedab2f159be836bfea (patch)
treead9c78f63071045398dbcd7358fd36c7fb9f873d /scripts/hiddenapi/generate_hiddenapi_lists_test.py
parent033bfa6e2903bbf858d7b666c5e52db69ba68bb4 (diff)
Turn missing jarjar output files into errors
Jarjar doesn't exit with a nonzero return code when there is a syntax error in a rules file and doesn't write the output file. Without a nonzero return code ninja prints a warning but continues, which leads to stale results on incremental builds where the output file already exists, or delayed errors on clean builds whre the output file didn't exist. Delete the output file before running jarjar, and then check if it exists after running jarjar. Fixes: 119516143 Test: m out/target/common/obj/APPS/TeleService_intermediates/classes.jar Change-Id: I7e9f7ff34de565a986ab0dc6e375f606c91c3846
Diffstat (limited to 'scripts/hiddenapi/generate_hiddenapi_lists_test.py')
0 files changed, 0 insertions, 0 deletions