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

Commit 3c5a18fc authored by Anton Hansson's avatar Anton Hansson
Browse files

Document SYSTEM_OTHER_ODEX_FILTER matching

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

Bug: 141707536
Test: N/A
Change-Id: I2f5bc4e2c8e6a9fa4c562d55623c13682d3f93ba
parent 8ca4bf76
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
# ************************************************
+2 −1
Original line number Diff line number Diff line
@@ -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/% \