Merge "Install preloaded-classes as a standalone configuration file"

This commit is contained in:
Ying Wang 2014-11-17 19:34:21 +00:00 committed by Gerrit Code Review
commit 5cef1ce30d
2 changed files with 7 additions and 1 deletions

View File

@ -16,7 +16,9 @@ DEX2OAT_DEPENDENCY += $(DEX2OAT)
DEX2OATD_DEPENDENCY := $(DEX2OAT_DEPENDENCY)
DEX2OATD_DEPENDENCY += $(DEX2OATD)
PRELOADED_CLASSES := frameworks/base/preloaded-classes
# Use the first preloaded-classes file in PRODUCT_COPY_FILES.
PRELOADED_CLASSES := $(call word-colon,1,$(firstword \
$(filter %system/etc/preloaded-classes,$(PRODUCT_COPY_FILES))))
# Default to debug version to help find bugs.
# Set USE_DEX2OAT_DEBUG to false for only building non-debug versions.

View File

@ -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)