Working dex2oat and oatexec
adb shell dex2oatd --dex-file=/system/framework/core.jar --image=/system/framework/boot.oat --base=0x50000000 "'--method=Ljava/lang/System;logI(Ljava/lang/String;)V'" "'--method=Ljava/lang/System;log(CLjava/lang/String;Ljava/lang/Throwable;)V'"
adb shell dex2oatd --boot-dex-file=/system/framework/core.jar --boot=/system/framework/boot.oat --dex-file=/system/framework/art-test-dex-HelloWorld.jar --image=/system/framework/art-test-dex-HelloWorld.oat
adb shell oatexecd -Xbootclasspath:/system/framework/core.jar -Xbootimage:/system/framework/boot.oat -classpath /system/framework/art-test-dex-HelloWorld.jar -Ximage:/system/framework/art-test-dex-HelloWorld.oat HelloWorld
09-05 17:58:18.912 2385 2385 I System : Hello, world!
Change-Id: I53e534068584f0c3a837313e4d517a0e4a7154fc
diff --git a/Android.mk b/Android.mk
index d23b75e..d6c8eb3 100644
--- a/Android.mk
+++ b/Android.mk
@@ -21,7 +21,7 @@
include $(build_path)/Android.common.mk
include $(build_path)/Android.libart.mk
-include $(build_path)/Android.aexec.mk
+include $(build_path)/Android.executable.mk
include $(build_path)/Android.libarttest.mk
include $(build_path)/Android.test.mk
@@ -29,9 +29,9 @@
# "m build-art" for quick minimal build
.PHONY: build-art
build-art: \
- $(TARGET_OUT_EXECUTABLES)/aexec \
+ $(ART_TARGET_EXECUTABLES) \
$(ART_TARGET_TEST_EXECUTABLES) \
- $(HOST_OUT_EXECUTABLES)/aexec \
+ $(ART_HOST_EXECUTABLES) \
$(ART_HOST_TEST_EXECUTABLES)
# "mm test-art" to build and run all tests on host and device