From 9a9d180ff1cafc547bd9d3b31a10db749d8ab359 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Thu, 13 Nov 2014 15:19:12 -0800 Subject: Install preloaded-classes as a standalone configuration file Install preloaded-classes as a standalone configuration file /system/etc/preloaded-classes, so we can configure different file per product. To override the default frameworks/base/preloaded-classes, just override in your product configuration makefile with PRODUCT_COPY_FILES before it inherits from build/target/product/base.mk: if there are multiple items in PRODUCT_COPY_FILES with the same destination, the first one takes precedence. Bug: 18305157 Change-Id: I937632b4a1aa73310ec90e73fd708fbd0c704a21 --- target/product/base.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/product') diff --git a/target/product/base.mk b/target/product/base.mk index 9713330..d6fb66a 100644 --- a/target/product/base.mk +++ b/target/product/base.mk @@ -115,4 +115,8 @@ PRODUCT_PACKAGES += \ wm +PRODUCT_COPY_FILES := \ + frameworks/base/preloaded-classes:system/etc/preloaded-classes + + $(call inherit-product, $(SRC_TARGET_DIR)/product/embedded.mk) -- cgit v1.1