diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk index 337afa785a..0da84fdd55 100644 --- a/target/product/core_minimal.mk +++ b/target/product/core_minimal.mk @@ -143,5 +143,9 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ pm.dexopt.shared-apk=speed \ pm.dexopt.forced-dexopt=speed +# Enable boot.oat filtering of compiled classes to reduce boot.oat size. b/28026683 +PRODUCT_COPY_FILES += \ + frameworks/base/compiled-classes-phone:system/etc/compiled-classes + $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)