forked from openkylin/platform_build
Move to dalvik.vm.lib.2 to force default to libart
Bug: 14298175 Change-Id: Ie4a716dddddc4d339fd4f47033f2c546a1ca118a
This commit is contained in:
parent
212bc3271a
commit
7e127ebe0b
|
@ -249,6 +249,9 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
|
|||
# Adding dalvik.vm.dex2oat-flags to eng builds
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
|
||||
|
||||
# Rename persist.sys.dalvik.vm.lib.1 to allow new default
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
|
||||
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
|
|
|
@ -269,7 +269,7 @@ $(call clear-var-list, $(_product_var_list))
|
|||
PRODUCT_RUNTIMES := $(product_runtimes)
|
||||
product_runtimes :=
|
||||
|
||||
PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PROPERTY_OVERRIDES += persist.sys.dalvik.vm.lib.1=$(DALVIK_VM_LIB)
|
||||
PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PROPERTY_OVERRIDES += persist.sys.dalvik.vm.lib.2=$(DALVIK_VM_LIB)
|
||||
|
||||
ifeq ($(words $(PRODUCT_RUNTIMES)),1)
|
||||
# If we only have one runtime, we can strip classes.dex by default during dex_preopt
|
||||
|
|
Loading…
Reference in New Issue