diff options
author | Ying Wang <wangying@google.com> | 2014-12-08 14:46:29 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-12-16 10:08:00 -0800 |
commit | d54520a667e3bd5c9f2abe98573a5de83bcf4872 (patch) | |
tree | 6e7bb56baa29d1acb5a60217dc2133b092d8b211 /core/dex_preopt.mk | |
parent | 91e724d42f921dd35943cdc89e8f4c4362da691a (diff) | |
download | build-d54520a667e3bd5c9f2abe98573a5de83bcf4872.zip build-d54520a667e3bd5c9f2abe98573a5de83bcf4872.tar.gz build-d54520a667e3bd5c9f2abe98573a5de83bcf4872.tar.bz2 |
Remove libdvm support from the core build system.
Now libart is the only supported runtime and
we don't need the build variables PRODUCT_RUNTIMES and
DALVIK_VM_LIB.
Bug: 18465297
Change-Id: Ibfda931cde0649163d79b584fb5ccad927a9bc2b
Diffstat (limited to 'core/dex_preopt.mk')
-rw-r--r-- | core/dex_preopt.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/core/dex_preopt.mk b/core/dex_preopt.mk index 231a04e..8b555e0 100644 --- a/core/dex_preopt.mk +++ b/core/dex_preopt.mk @@ -3,8 +3,6 @@ # #################################### -ifneq ($(DALVIK_VM_LIB),) - # list of boot classpath jars for dexpreopt DEXPREOPT_BOOT_JARS := $(subst $(space),:,$(PRODUCT_BOOT_JARS)) DEXPREOPT_BOOT_JARS_MODULES := $(PRODUCT_BOOT_JARS) @@ -18,6 +16,9 @@ DEXPREOPT_PRODUCT_DIR := $(patsubst $(DEXPREOPT_BUILD_DIR)/%,%,$(DEXPREOPT_PRODU DEXPREOPT_BOOT_JAR_DIR := system/framework DEXPREOPT_BOOT_JAR_DIR_FULL_PATH := $(DEXPREOPT_PRODUCT_DIR_FULL_PATH)/$(DEXPREOPT_BOOT_JAR_DIR) +# The default value for LOCAL_DEX_PREOPT +DEX_PREOPT_DEFAULT ?= true + # $(1): the .jar or .apk to remove classes.dex define dexpreopt-remove-classes.dex $(hide) zip --quiet --delete $(1) classes.dex; \ @@ -60,7 +61,3 @@ DEXPREOPT_ONE_FILE_DEPENDENCY_BUILT_BOOT_PREOPT := $(DEFAULT_DEX_PREOPT_BUILT_IM ifdef TARGET_2ND_ARCH $(TARGET_2ND_ARCH_VAR_PREFIX)DEXPREOPT_ONE_FILE_DEPENDENCY_BUILT_BOOT_PREOPT := $($(TARGET_2ND_ARCH_VAR_PREFIX)DEFAULT_DEX_PREOPT_BUILT_IMAGE_FILENAME) endif # TARGET_2ND_ARCH -else -$(warning No DALVIK_VM_LIB, disable dexpreopt.) -WITH_DEXPREOPT := false -endif # DALVIK_VM_LIB is defined. |