summaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 17:38:30 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 17:38:55 -0800
commit6051bf9f89713f830a8d6dc3fefb74c5441788a8 (patch)
tree9fe97f8fd34b347500ae5d8b34dbe86784836e78 /packaging/android
parent0aecb12ab1892fb8d3c68766ce979c46ad0059b8 (diff)
downloadsubsurface-6051bf9f89713f830a8d6dc3fefb74c5441788a8.tar.gz
Android build: we should build Subsurface-mobile by default
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/android')
-rw-r--r--packaging/android/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index f9dae9b48..1069d93b1 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -282,6 +282,12 @@ else
fi
# Should we build the mobile ui or the desktop ui?
+# doing this backwards in order not to break people's setup
+if [ "$SUBSURFACE_DESKTOP" = "ON" ] ; then
+ SUBSURFACE_MOBILE=
+else
+ SUBSURFACE_MOBILE="ON"
+fi
if [ ! -z "$SUBSURFACE_MOBILE" ] ; then
mkdir -p subsurface-mobile-build-$ARCH
cd subsurface-mobile-build-$ARCH