From c4d9d32fe8f69a515abeae76a79e8a0ebaac292c Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Fri, 15 Sep 2023 14:06:31 -0400 Subject: [PATCH] Cleanspec to remove tools/metalava subdir Test: CI Change-Id: I412a093ef3964fcecf2b726cbfe0f78032242e95 --- CleanSpec.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CleanSpec.mk b/CleanSpec.mk index 957da92f63..4a7e9570b7 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -773,6 +773,9 @@ $(call add-clean-step, rm -rf $(SOONG_HOST_OUT)) # Don't use SOONG_HOST_OUT, it is now an alias for HOST_OUT. $(call add-clean-step, rm -rf $(OUT_DIR)/soong/host) +# Clear out tools/metalava Bazel output dir +$(call add-clean-step, rm -rf $(OUT_DIR)/bazel/output/execroot/__main__/bazel-out/mixed_builds_product-*/bin/tools/metalava) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************