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
diff --git a/Android.mk b/Android.mk
index 20a0585..aef731f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -436,6 +436,16 @@
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