Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba02ffb8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Clean out old rustc compiler intermediates" into main am: 842d96dc...

Merge "Clean out old rustc compiler intermediates" into main am: 842d96dc am: 8644f9c8 am: 44b7e9e1 am: 5fccb407 am: d2cb0162

Original change: https://android-review.googlesource.com/c/platform/build/+/2769746



Change-Id: I1fce7d613c74930a793249a3e8a589caa65fe6da
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 30eeaeac d2cb0162
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -776,6 +776,9 @@ $(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)

# 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}')

# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************