forked from openkylin/platform_build
Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build]
This will allow us to conditionally change the compiler-filter based on other properties.
Bug: 15165413
(cherry picked from commit 4d30e5e260
)
Change-Id: I84e8038c6536291e6775f39b33556b8169fdf292
This commit is contained in:
parent
56ef86df84
commit
cced082f5d
|
@ -283,6 +283,12 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
|
|||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
|
||||
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system)
|
||||
|
||||
# Adding dalvik.vm.dex2oat-filter
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
|
||||
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
|
|
|
@ -374,9 +374,9 @@ ifneq ($(filter ro.setupwizard.mode=ENABLED, $(call collapse-pairs, $(ADDITIONAL
|
|||
ro.setupwizard.mode=OPTIONAL
|
||||
endif
|
||||
# Don't even verify the image on eng builds to speed startup
|
||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.image-dex2oat-flags=--compiler-filter=verify-none
|
||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.image-dex2oat-filter=verify-none
|
||||
# Don't compile apps on eng builds to speed startup
|
||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.dex2oat-flags=--compiler-filter=interpret-only
|
||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.dex2oat-filter=interpret-only
|
||||
endif
|
||||
|
||||
## sdk ##
|
||||
|
|
Loading…
Reference in New Issue