diff options
Diffstat (limited to 'core/main.mk')
-rw-r--r-- | core/main.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/main.mk b/core/main.mk index fcddf89..749929a 100644 --- a/core/main.mk +++ b/core/main.mk @@ -378,10 +378,12 @@ 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-filter=verify-none -# Don't compile apps on eng builds to speed startup -ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.dex2oat-filter=interpret-only +ifndef is_sdk_build + # Don't even verify the image on eng builds to speed startup + 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-filter=interpret-only +endif endif ## sdk ## |