From 4fd493dae1d04ea33f7beee9f6fcccefa96bd206 Mon Sep 17 00:00:00 2001 From: Dan Shi Date: Sat, 28 Mar 2020 13:25:21 -0700 Subject: [PATCH] Cleanup VTS-Core and VTS10 related artifacts Bug: 151896491 Test: none Change-Id: I5a42dcbe34866751a54f059d363f1866bff7d47a Merged-In: I5a42dcbe34866751a54f059d363f1866bff7d47a --- CleanSpec.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CleanSpec.mk b/CleanSpec.mk index 673856c46..97dc31f71 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -713,6 +713,15 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex/com.android.apex.cts.sh $(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) +# Clean up VTS-Core and VTS10 related artifacts. +$(call add-clean-step, rm -rf $(HOST_OUT)/vts-core/*) +$(call add-clean-step, rm -rf $(HOST_OUT)/framework/vts-core-tradefed.jar) +$(call add-clean-step, rm -rf $(HOST_OUT)/vts10/*) +$(call add-clean-step, rm -rf $(HOST_OUT)/framework/vts10-tradefed.jar) +# Clean up VTS again as VTS-Core will be renamed to VTS +$(call add-clean-step, rm -rf $(HOST_OUT)/vts/*) +$(call add-clean-step, rm -rf $(HOST_OUT)/framework/vts-tradefed.jar) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************