aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-13 16:45:27 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-13 16:45:29 +0800
commitc608cfd643e247130e30f93e2bda86623da4e430 (patch)
tree35e268e4b57fba6eb9832e79f7ad5d3413228fb4 /packaging/android
parenta2506424799e139154f1e50154afa7dfac33bec2 (diff)
downloadsubsurface-c608cfd643e247130e30f93e2bda86623da4e430.tar.gz
Android: build for android-16
That's the minimum platform that we have used for a while now, corresponding to Android 4.1 and newer (i.e., quite ancient). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/android')
-rwxr-xr-xpackaging/android/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index c32dbc87d..dac16ab0d 100755
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -399,6 +399,7 @@ cmake $MOBILE_CMAKE \
-DQT_ANDROID_SDK_ROOT="$ANDROID_SDK_ROOT" \
-DQT_ANDROID_NDK_ROOT="$ANDROID_NDK_ROOT" \
-DANDROID_TOOLCHAIN="gcc" \
+ -DANDROID_PLATFORM="android-16" \
-DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK_ROOT"/build/cmake/android.toolchain.cmake \
-DQT_ANDROID_CMAKE="$BUILDROOT"/qt-android-cmake/AddQtAndroidApk.cmake \
-DFORCE_LIBSSH=OFF \