Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [art]
This will allow us to conditionally change the compiler-filter based on other properties.
Bug: 15165413
Change-Id: I6877a6eab221ab142909b595fd28191b5d3a095b
diff --git a/Android.mk b/Android.mk
index c5e90f2..e536a71 100644
--- a/Android.mk
+++ b/Android.mk
@@ -389,8 +389,8 @@
adb root && sleep 3
adb shell stop
adb shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*
- adb shell setprop dalvik.vm.dex2oat-flags ""
- adb shell setprop dalvik.vm.image-dex2oat-flags ""
+ adb shell setprop dalvik.vm.dex2oat-filter ""
+ adb shell setprop dalvik.vm.image-dex2oat-filter ""
adb shell setprop persist.sys.dalvik.vm.lib.2 libart.so
adb shell start
@@ -399,8 +399,8 @@
adb root && sleep 3
adb shell stop
adb shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*
- adb shell setprop dalvik.vm.dex2oat-flags ""
- adb shell setprop dalvik.vm.image-dex2oat-flags ""
+ adb shell setprop dalvik.vm.dex2oat-filter ""
+ adb shell setprop dalvik.vm.image-dex2oat-filter ""
adb shell setprop persist.sys.dalvik.vm.lib.2 libartd.so
adb shell start
@@ -409,8 +409,8 @@
adb root && sleep 3
adb shell stop
adb shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*
- adb shell setprop dalvik.vm.dex2oat-flags "--compiler-filter=interpret-only"
- adb shell setprop dalvik.vm.image-dex2oat-flags ""
+ adb shell setprop dalvik.vm.dex2oat-filter "interpret-only"
+ adb shell setprop dalvik.vm.image-dex2oat-filter ""
adb shell setprop persist.sys.dalvik.vm.lib.2 libart.so
adb shell start
@@ -419,8 +419,8 @@
adb root && sleep 3
adb shell stop
adb shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*
- adb shell setprop dalvik.vm.dex2oat-flags "--compiler-filter=interpret-only"
- adb shell setprop dalvik.vm.image-dex2oat-flags "--compiler-filter=interpret-only"
+ adb shell setprop dalvik.vm.dex2oat-filter "interpret-only"
+ adb shell setprop dalvik.vm.image-dex2oat-filter "interpret-only"
adb shell setprop persist.sys.dalvik.vm.lib.2 libart.so
adb shell start
@@ -429,8 +429,8 @@
adb root && sleep 3
adb shell stop
adb shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*
- adb shell setprop dalvik.vm.dex2oat-flags "--compiler-filter=interpret-only"
- adb shell setprop dalvik.vm.image-dex2oat-flags "--compiler-filter=interpret-only"
+ adb shell setprop dalvik.vm.dex2oat-filter "interpret-only"
+ adb shell setprop dalvik.vm.image-dex2oat-filter "interpret-only"
adb shell setprop persist.sys.dalvik.vm.lib.2 libartd.so
adb shell start
@@ -439,8 +439,8 @@
adb root && sleep 3
adb shell stop
adb shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*
- adb shell setprop dalvik.vm.dex2oat-flags "--compiler-filter=verify-none"
- adb shell setprop dalvik.vm.image-dex2oat-flags "--compiler-filter=verify-none"
+ adb shell setprop dalvik.vm.dex2oat-filter "verify-none"
+ adb shell setprop dalvik.vm.image-dex2oat-filter "verify-none"
adb shell setprop persist.sys.dalvik.vm.lib.2 libart.so
adb shell start