From 6483bedef2c65787093d02ffd28f405f5db80a53 Mon Sep 17 00:00:00 2001 From: lubomyr Date: Sun, 25 Jun 2017 00:56:22 +0300 Subject: ANDROIDSDL: added script for building scummvm apk --- dists/androidsdl/build.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 dists/androidsdl/build.sh (limited to 'dists/androidsdl/build.sh') 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 -- cgit v1.2.3