diff options
author | Colin Cross <ccross@android.com> | 2019-11-21 12:34:49 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2019-12-17 11:17:56 -0800 |
commit | 559ab613ae1d4945c480fe936de779da3e275bb2 (patch) | |
tree | 1f63f028ec63df6d0ede1ff9bd5c5ce6e0f5d301 /CleanSpec.mk | |
parent | d254460190c0942a38b701c20ec1359eb784e0cf (diff) | |
download | build-559ab613ae1d4945c480fe936de779da3e275bb2.tar.gz |
Remove Soong intermdiates after moving image mutator
Bug: 142286466
Test: m
Change-Id: I76f19a4504b8231755009ab200447613f02b85cf
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r-- | CleanSpec.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index a2385e03b1..8a1a2aa5ab 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -729,6 +729,10 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/CtsShimPrivPrebuilt $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/CtsShimPrebuilt) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex/com.android.apex.cts.shim.apex) +# Remove vendor and recovery variants, the directory name has changed. +$(call add-clean-step, find $(SOONG_OUT_DIR)/.intermediates -type d -name "android_*_recovery*" -print0 | xargs -0 rm -rf) +$(call add-clean-step, find $(SOONG_OUT_DIR)/.intermediates -type d -name "android_*_vendor*" -print0 | xargs -0 rm -rf) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ |