Add the Cleanspec rule for product-services symlink.

Bug: 112431447
Test: `m dist` when there's a leftover symlink of "/product-services".
Change-Id: I39bb79bd7790fe2243075768c6423b0fddc379f7
This commit is contained in:
Tao Bao 2018-08-21 07:31:53 -07:00
parent d35fdd8b3d
commit d6b3a4cc79
1 changed files with 1 additions and 0 deletions

View File

@ -498,6 +498,7 @@ $(call add-clean-step, rm -rf $(SOONG_OUT_DIR)/.intermediates/system/vold)
# Remove product-services related files / images
$(call add-clean-step, find $(PRODUCT_OUT) -type f -name "*product-services*" -print0 | xargs -0 rm -rf)
$(call add-clean-step, find $(PRODUCT_OUT) -type d -name "*product-services*" -print0 | xargs -0 rm -rf)
$(call add-clean-step, find $(PRODUCT_OUT) -type l -name "*product-services*" -print0 | xargs -0 rm -rf)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST