From 7d862475fd63d005f3c28a7a2407ddf45d645add Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 5 Sep 2012 15:58:29 -0700 Subject: [PATCH] Clean step for libc. (cherry-pick of ab1e93d4d4f4a46fa922df5ba7ccd41dde1221ac.) Change-Id: I304312d6eb0346c050d02bd834565e0d43d8b4dd --- CleanSpec.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CleanSpec.mk b/CleanSpec.mk index 6d81733625..8109ebb801 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -127,6 +127,11 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/host/darwin-x86/obj) $(call add-clean-step, rm -f $(OUT_DIR)/versions_checked.mk) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/*.o) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************