Add CleanSpec for libart*simulator-container.so
Incremental build was broken on bot due to unexpected files in APEX.
Bug: 162049686
Test: manual
Change-Id: Iaca25e64e64533008a5b27f99d51013d8b7113df
diff --git a/CleanSpec.mk b/CleanSpec.mk
index fe613b2..90a23db 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -105,6 +105,9 @@
# Remove empty dir for art APEX because it will be created on demand while mounting release|debug
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex/com.android.art)
+# Remove 'libart[d]?-simulator-container.so' which was briefly in the ART AREX.
+$(call add-clean-step, find $(OUT_DIR) -name 'libart*-simulator-container.so' -type f | xargs rm -f)
+
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************