Merge "Remove strip.sh intermediates to save space"

am: 839cf8f7a9

Change-Id: I3b8f30bc00e24ed2e467508963d546320326b28c
This commit is contained in:
Colin Cross 2018-10-18 18:51:59 -07:00 committed by android-build-merger
commit 138265ff5c
1 changed files with 3 additions and 0 deletions

View File

@ -509,6 +509,9 @@ $(call add-clean-step, rm -rf $(addsuffix /lib,\
$(HOST_CROSS_OUT_INTERMEDIATES) $(2ND_HOST_CROSS_OUT_INTERMEDIATES) \
$(TARGET_OUT_INTERMEDIATES) $(2ND_TARGET_OUT_INTERMEDIATES)))
# Remove strip.sh intermediates to save space
$(call add-clean-step, find $(OUT_DIR) \( -name "*.so.debug" -o -name "*.so.dynsyms" -o -name "*.so.funcsyms" -o -name "*.so.keep_symbols" -o -name "*.so.mini_debuginfo.xz" \) -print0 | xargs -0 rm -f)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************