Add dalvik.vm.dex2oat-flags for eng build
Bug: 12869646 Change-Id: I794320267c846225931f12075c7f32d7848081e9
This commit is contained in:
parent
a16583a088
commit
fceb115bd6
2 changed files with 7 additions and 0 deletions
|
@ -217,6 +217,9 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
|
|||
# Add ro.product.cpu.abilist{32,64} to build.prop.
|
||||
$(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)
|
||||
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
|
|
|
@ -393,6 +393,10 @@ ifneq ($(filter ro.setupwizard.mode=ENABLED, $(call collapse-pairs, $(ADDITIONAL
|
|||
$(call collapse-pairs, $(ADDITIONAL_BUILD_PROPERTIES))) \
|
||||
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
|
||||
# Don't compile apps on eng builds to speed startup
|
||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.dex2oat-flags=--compiler-filter=interpret-only
|
||||
endif
|
||||
|
||||
## sdk ##
|
||||
|
|
Loading…
Reference in a new issue