summaryrefslogtreecommitdiffstats
path: root/target/product/base.mk
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 15:09:51 -0800
commit96a522037ff7079cbf48625c3cfb5ec49b7e6db6 (patch)
treebf55a563599be3f37417b5f1b925f1934543fc74 /target/product/base.mk
parent8bde98733bb974253203ecbd5e62e32ef62e66ba (diff)
downloadbuild-96a522037ff7079cbf48625c3cfb5ec49b7e6db6.tar.gz
build-96a522037ff7079cbf48625c3cfb5ec49b7e6db6.tar.bz2
build-96a522037ff7079cbf48625c3cfb5ec49b7e6db6.zip
Build: Support for compiled-classes file
Allow a compiled-classes file for pre-opting. Bug: 18410571 (cherry picked from commit 4fec0bb265ac8cdbe883b8868abfcb56713db170) Change-Id: I8c69dd0fb8c04aaae0c4f062049cc9cce7d755c7
Diffstat (limited to 'target/product/base.mk')
-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 6387fdaed..0d052b52f 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)