Merge "Remove Soong intermediates after renaming core variant"

am: 55406a8458

Change-Id: Id9c7dccadeab083a5da852b7482d3f5f5525aafb
This commit is contained in:
Colin Cross 2019-12-16 13:06:06 -08:00 committed by android-build-merger
commit c37ff6ede2
1 changed files with 3 additions and 0 deletions

View File

@ -699,6 +699,9 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/vndk-*)
# again, as the original change removing them was reverted.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/*.jar)
# The core image variant has been renamed to ""
$(call add-clean-step, find $(SOONG_OUT_DIR)/.intermediates -type d -name "android_*_core*" -print0 | xargs -0 rm -rf)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************