OSDN Git Service

Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [art]
authorBrian Carlstrom <bdc@google.com>
Tue, 29 Jul 2014 02:13:27 +0000 (19:13 -0700)
committerBrian Carlstrom <bdc@google.com>
Wed, 30 Jul 2014 22:57:14 +0000 (15:57 -0700)
This will allow us to conditionally change the compiler-filter based on other properties.

Bug: 15165413
Change-Id: I6877a6eab221ab142909b595fd28191b5d3a095b

Android.mk

index c5e90f2..e536a71 100644 (file)
@@ -389,8 +389,8 @@ use-art-full:
        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 @@ use-artd-full:
        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 @@ use-art-smart:
        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 @@ use-art-interpret-only:
        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 @@ use-artd-interpret-only:
        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 @@ use-art-verify-none:
        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