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 4d30e5e2604a77df2acd41e36cbca54cd42cbf0a)
Change-Id: I84e8038c6536291e6775f39b33556b8169fdf292
diff --git a/core/main.mk b/core/main.mk
index cdf3200..f33574b 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -374,9 +374,9 @@
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 ##