diff options
author | Jeff Hao <jeffhao@google.com> | 2014-04-01 14:58:49 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2014-04-02 17:18:13 -0700 |
commit | 4a200f56b7075309316b04d550c9cc50f8314edd (patch) | |
tree | 0c01f484239203eeeb9f8e5f97300bca09b051ad /Android.mk | |
parent | d0ab1223cc8c5181e502196a7765790ad2aba3c8 (diff) | |
download | art-4a200f56b7075309316b04d550c9cc50f8314edd.zip art-4a200f56b7075309316b04d550c9cc50f8314edd.tar.gz art-4a200f56b7075309316b04d550c9cc50f8314edd.tar.bz2 |
Add support for -Xverify:none mode.
This mode skips all verification and compilation.
Public bug: https://code.google.com/p/android/issues/detail?id=67664
Change-Id: Idd00ab8e9e46d129c02988b063c41a507e07bf5b
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -435,6 +435,18 @@ use-art-interpret-only: adb shell setprop persist.sys.dalvik.vm.lib.1 libart.so adb shell start +.PHONY: use-art-verify-none +use-art-verify-none: + adb root && sleep 3 + adb shell stop + adb shell rm $(ART_DALVIK_CACHE_DIR)/*.dex + adb shell rm $(ART_DALVIK_CACHE_DIR)/*.oat + adb shell rm $(ART_DALVIK_CACHE_DIR)/*.art + 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 persist.sys.dalvik.vm.lib.1 libart.so + adb shell start + ######################################################################## endif # !art_dont_bother |