add build scripts for ant

This commit is contained in:
bollu 2013-11-11 18:04:06 +05:30
parent 345a4ccf0e
commit 2a5763e50a
2 changed files with 9 additions and 0 deletions

3
android/ab-ant.sh Executable file
View File

@ -0,0 +1,3 @@
ant debug
adb install -r bin/PPSSPP-debug.apk
adb shell am start -n org.ppsspp.ppsspp/org.ppsspp.ppsspp.PpssppActivity

View File

@ -37,6 +37,12 @@
<isset property="env.ANDROID_HOME" />
</condition>
<!-- this property is needed to run the script via ANT. It requires the NDK
environment variable which is accessed by ant during the build process -->
<condition property="ndk.dir" value="${env.NDK}">
<isset property="env.NDK" />
</condition>
<!-- The project.properties file is created and updated by the 'android'
tool, as well as ADT.