diff options
author | lubomyr | 2017-06-25 00:56:22 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2017-06-25 10:50:36 +0200 |
commit | 6483bedef2c65787093d02ffd28f405f5db80a53 (patch) | |
tree | 6003de521eabfa6469c2de3c60fb1d37682300ca /dists/androidsdl/build.sh | |
parent | 4d53bdc7fea550635fe295f23cf471ef0f3f2436 (diff) | |
download | scummvm-rg350-6483bedef2c65787093d02ffd28f405f5db80a53.tar.gz scummvm-rg350-6483bedef2c65787093d02ffd28f405f5db80a53.tar.bz2 scummvm-rg350-6483bedef2c65787093d02ffd28f405f5db80a53.zip |
ANDROIDSDL: added script for building scummvm apk
Diffstat (limited to 'dists/androidsdl/build.sh')
-rwxr-xr-x | dists/androidsdl/build.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dists/androidsdl/build.sh b/dists/androidsdl/build.sh new file mode 100755 index 0000000000..055278f5a1 --- /dev/null +++ b/dists/androidsdl/build.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +LOCAL_PATH=`dirname $0` +LOCAL_PATH=`cd $LOCAL_PATH && pwd` + +if [ \! -d ../../../androidsdl ] ; then + cd ../../.. + git clone git://github.com/pelya/commandergenius androidsdl + cd androidsdl + git submodule update --init project/jni/iconv/src + cd ../scummvm/dists/androidsdl +fi + +if [ \! -d scummvm/scummvm ] ; then + ln -s ../../../../scummvm scummvm +fi + +if [ \! -d ../../../androidsdl/project/jni/application/scummvm ] ; then + ln -s ../../../../scummvm/dists/androidsdl/scummvm ../../../androidsdl/project/jni/application +fi + +cd ../../../androidsdl +./build.sh scummvm + +mv project/bin/MainActivity-debug.apk ../scummvm/dists/androidsdl/scummvm-debug.apk +cd ../scummvm/dists/androidsdl |