summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-05-08 17:51:57 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-05-08 17:52:52 +0000
commitb09bead297ef1cfd16f4e438d7765d917d28bbd9 (patch)
treec3e1c82bbd5c1f80e38e062fb3a0bf45175541ab
parent9a78be4d42ef53344570c8a5c9ba796a794dbb0f (diff)
Remove obsolete java compilation artifacts
Please note that this is an addition on top of https://r.android.com/3078030. Test: TH Bug: 332785297 Change-Id: I1ee21398c72d8ee152e569626868eea3716af1bd
-rw-r--r--CleanSpec.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 19fc6399c0..f8c96ffffe 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -783,6 +783,10 @@ $(call add-clean-step, find $(OUT_DIR) -name "*.rsp.whole.a" -print0 | xargs -0
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/)
$(call add-clean-step, find $(OUT_DIR) -type f -name "*.jar" -print0 | xargs -0 rm -f)
+# Remove obsolete java compilation artifacts
+$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/)
+$(call add-clean-step, find $(OUT_DIR) -type f -name "*.jar" -print0 | xargs -0 rm -f)
+
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************