Document SYSTEM_OTHER_ODEX_FILTER matching

...and add a CleanSpec for the moving preopt files.

Bug: 141707536
Test: N/A
Change-Id: I2f5bc4e2c8e6a9fa4c562d55623c13682d3f93ba
This commit is contained in:
Anton Hansson 2019-10-02 18:13:19 +01:00
parent 8ca4bf76d6
commit 3c5a18fc16
2 changed files with 5 additions and 1 deletions

View File

@ -678,6 +678,9 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system_other)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex)
# Migrate preopt files to system_other for some devices
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/*/*app/*/oat)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************

View File

@ -4,7 +4,8 @@ DEX_PREOPT_CONFIG := $(SOONG_OUT_DIR)/dexpreopt.config
DEX_PREOPT_DEFAULT ?= true
# The default filter for which files go into the system_other image (if it is
# being used). To bundle everything one should set this to '%'
# being used). Note that each pattern p here matches both '/<p>' and /system/<p>'.
# To bundle everything one should set this to '%'.
SYSTEM_OTHER_ODEX_FILTER ?= \
app/% \
priv-app/% \