forked from openkylin/platform_build
Merge "Install preloaded-classes as a standalone configuration file"
This commit is contained in:
commit
5cef1ce30d
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue