From bc291e63a00266732daead89828760bd573e7df2 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 1 Aug 2017 13:12:40 -0700 Subject: [PATCH] Clean jack intermediates Jack is no longer the default java compiler, clean the intermediates to save space. Bug: 36902714 Test: manual Change-Id: I368442c8ad71eb5839c52839f2aa6ca55cf20bdd --- CleanSpec.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CleanSpec.mk b/CleanSpec.mk index 91f1a0b68..6a3e53e39 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -424,6 +424,10 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/versions_checked.mk) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/vendor/nativetest*) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/nativetest*) +# Jack is no longer the default compiler, remove the intermediates +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/*/*/classes*.jack) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/*/*/jack*) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************