From c5e98d405fc0c8ae377be3530f33b14c41f5c569 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 --- CleanSpec.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CleanSpec.mk b/CleanSpec.mk index c8631ee05..85a5c697f 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -736,6 +736,15 @@ $(call add-clean-step, find $(SOONG_OUT_DIR)/.intermediates -type d -name "andro # Remove PermissionController after moving into APEX $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/*PermissionController) +# 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 # ************************************************