summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-18 11:45:10 -0800
committerAndreas Gampe <agampe@google.com>2014-11-18 14:41:26 -0800
commit4fec0bb265ac8cdbe883b8868abfcb56713db170 (patch)
tree0ac9be11935da6053c09b0cd2f87206aaa22cf9e /target
parent2e216835ee6d35e1c7b692f9982c1bd34b8ce703 (diff)
downloadbuild-4fec0bb265ac8cdbe883b8868abfcb56713db170.zip
build-4fec0bb265ac8cdbe883b8868abfcb56713db170.tar.gz
build-4fec0bb265ac8cdbe883b8868abfcb56713db170.tar.bz2
Build: Support for compiled-classes file
Allow a compiled-classes file for pre-opting. Bug: 18410571 Change-Id: I8c69dd0fb8c04aaae0c4f062049cc9cce7d755c7
Diffstat (limited to 'target')
-rw-r--r--target/product/base.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/product/base.mk b/target/product/base.mk
index 6387fda..0d052b5 100644
--- a/target/product/base.mk
+++ b/target/product/base.mk
@@ -118,5 +118,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES := $(call add-to-product-copy-files-if-exists,\
frameworks/base/preloaded-classes:system/etc/preloaded-classes)
+# Note: it is acceptable to not have a compiled-classes file. In that case, all boot classpath
+# classes will be compiled.
+PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
+ frameworks/base/compiled-classes:system/etc/compiled-classes)
+
$(call inherit-product, $(SRC_TARGET_DIR)/product/embedded.mk)