summaryrefslogtreecommitdiffstats
path: root/packaging/android/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/android/build.sh')
-rwxr-xr-x[-rw-r--r--]packaging/android/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 0f2a1d0c3..b22e569bf 100644..100755
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -38,6 +38,8 @@ BUILD_NR=0
SUBSURFACE_DESKTOP=OFF
# Which arch should we build for?
ARCH=arm
+# Which SDK buildtools revision is used?
+ANDROID_BUILDTOOLS_REVISION=23.0.3
while [ "$#" -gt 0 ] ; do
case "$1" in
@@ -376,6 +378,7 @@ cmake $MOBILE_CMAKE \
-DFTDISUPPORT=${FTDI} \
-DANDROID_NATIVE_LIBSSL="$BUILDROOT/ndk-$ARCH/sysroot/usr/lib/libssl.so" \
-DANDROID_NATIVE_LIBCRYPT="$BUILDROOT/ndk-$ARCH/sysroot/usr/lib/libcrypto.so" \
+ -DBUILDTOOLS_REVISION="$ANDROID_BUILDTOOLS_REVISION" \
"$SUBSURFACE_SOURCE"
# set up the version number