diff options
author | Sebastien Hertz <shertz@google.com> | 2014-07-04 10:53:22 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2014-07-04 10:55:09 +0200 |
commit | 15582b92c464151fa06f4d848165344885983888 (patch) | |
tree | cef52fdad23a4e2d372b777bd3029e67d4bf40a5 /Android.mk | |
parent | d83ee1e26f68409f904c3cf0d582c18738e1f39b (diff) | |
download | art-15582b92c464151fa06f4d848165344885983888.zip art-15582b92c464151fa06f4d848165344885983888.tar.gz art-15582b92c464151fa06f4d848165344885983888.tar.bz2 |
Add make rule to debug interpreter-only mode
Adds "use-artd-interpret-only" make rule to run interpreter-only mode with
libartd.so.
Change-Id: Ib9fbcdbdcc79a89900ee751b5dc2ad554f834127
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -436,6 +436,16 @@ use-art-interpret-only: adb shell setprop persist.sys.dalvik.vm.lib.2 libart.so adb shell start +.PHONY: use-artd-interpret-only +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 persist.sys.dalvik.vm.lib.2 libartd.so + adb shell start + .PHONY: use-art-verify-none use-art-verify-none: adb root && sleep 3 |