Skip to content

Commit

Permalink
Remove obsolete java compilation artifacts
Browse files Browse the repository at this point in the history
Test: TH
Bug: 332785297
Change-Id: I114bb4139c08e595c3c5b03a4dc8d39df93262c3
  • Loading branch information
jihoonkang0829 committed May 6, 2024
1 parent f8e79f1 commit cffe6c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,10 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/bazel/output/execroot/__main__/bazel-ou
# Clear out rustc compiler intermediates after reverting rust compiler/linker split.
$(call add-clean-step, find $(OUT_DIR) -name "*.rsp.whole.a" -print0 | xargs -0 /bin/bash -c 'rm -f $$$${@}; rm -f $$$${@/.rsp.whole.a/.rsp.a}; rm -f $$$${@/.rsp.whole.a/.rsp}')

# 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
# ************************************************

0 comments on commit cffe6c2

Please sign in to comment.