diff options
author | Dan Willemsen <dwillemsen@google.com> | 2020-01-28 15:40:19 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2020-01-28 15:40:19 -0800 |
commit | 81e43c59944057d3d0c70beda0ed347ab53c26d1 (patch) | |
tree | 15e2230e873786f8375ea63a83bc6025970626bf /apex | |
parent | 7c78b3c98ee42a72131cf3e522a06c61b8fdfe1c (diff) | |
download | build_soong-81e43c59944057d3d0c70beda0ed347ab53c26d1.tar.gz build_soong-81e43c59944057d3d0c70beda0ed347ab53c26d1.tar.bz2 build_soong-81e43c59944057d3d0c70beda0ed347ab53c26d1.zip |
Fix rebuilding with whitelisted_files
All commands must produce their output files, or they'll trigger
rebuilds the next build.
Test: m com.android.apex.cts.shim.v3; repeat; "ninja: nothing to do"
Change-Id: If30e9d90ce3efc0689cd04ac62cc8207f3a38dd5
Diffstat (limited to 'apex')
-rw-r--r-- | apex/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/builder.go b/apex/builder.go index 8ae2b5c4..f245ca7e 100644 --- a/apex/builder.go +++ b/apex/builder.go @@ -160,7 +160,7 @@ var ( `echo -e "New unexpected files were added to ${apex_module_name}." ` + ` "To fix the build run following command:" && ` + `echo "system/apex/tools/update_whitelist.sh ${whitelisted_files_file} ${image_content_file}" && ` + - `exit 1)`, + `exit 1); touch ${out}`, Description: "Diff ${image_content_file} and ${whitelisted_files_file}", }, "image_content_file", "whitelisted_files_file", "apex_module_name") ) |