summaryrefslogtreecommitdiffstats
path: root/core/dex_preopt.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2013-07-23 17:57:38 -0700
committerYing Wang <wangying@google.com>2013-07-24 15:15:55 -0700
commit0650d1503d89f1563978f6006a2f904da7140027 (patch)
tree31730f7410e0017670c497ae0b672fb627c0c8d6 /core/dex_preopt.mk
parent336b06f78c33480eac584d646b1a1c48d132c3b5 (diff)
downloadbuild-0650d1503d89f1563978f6006a2f904da7140027.zip
build-0650d1503d89f1563978f6006a2f904da7140027.tar.gz
build-0650d1503d89f1563978f6006a2f904da7140027.tar.bz2
Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATH
- BOOTCLASSPATH now is product-configurable; - No need to maintain the duplicate values in core/dex_preopt.mk. - clean up some legacy ALL_PREBUILTs. Bug: 9990214 Change-Id: Ie3953e66d282e335bb7782b0ebd56102c35ec10e
Diffstat (limited to 'core/dex_preopt.mk')
-rw-r--r--core/dex_preopt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dex_preopt.mk b/core/dex_preopt.mk
index ce27763..77b239b 100644
--- a/core/dex_preopt.mk
+++ b/core/dex_preopt.mk
@@ -3,9 +3,9 @@
#
####################################
-# TODO: replace it with device's BOOTCLASSPATH
-DEXPREOPT_BOOT_JARS := core:conscrypt:okhttp:core-junit:bouncycastle:ext:framework:framework2:telephony-common:voip-common:mms-common:android.policy:services:apache-xml:webviewchromium
+DEXPREOPT_BOOT_JARS := $(PRODUCT_BOOT_JARS)
DEXPREOPT_BOOT_JARS_MODULES := $(subst :, ,$(DEXPREOPT_BOOT_JARS))
+PRODUCT_BOOTCLASSPATH := $(subst $(space),:,$(foreach m,$(DEXPREOPT_BOOT_JARS_MODULES),/system/framework/$(m).jar))
DEXPREOPT_BUILD_DIR := $(OUT_DIR)
DEXPREOPT_PRODUCT_DIR := $(patsubst $(DEXPREOPT_BUILD_DIR)/%,%,$(PRODUCT_OUT))/dex_bootjars