Commit 8be56891 authored by Luca Boccassi's avatar Luca Boccassi

Problem: Android CI script hardcodes ABI version

Solution: use a variable for easier maintenance, in sync with zproject
parent 33ed5692
#!/usr/bin/env bash
NDK_VER=android-ndk-r10e
NDK_ABI_VER=4.9
if [ $TRAVIS_OS_NAME == "linux" ]
then
......@@ -22,8 +23,8 @@ export FILENAME=$NDK_VER-$NDK_PLATFORM.bin
unset FILENAME
export ANDROID_NDK_ROOT="/tmp/$NDK_VER"
export TOOLCHAIN_PATH="$ANDROID_NDK_ROOT/toolchains/arm-linux-androideabi-4.8/prebuilt/$NDK_PLATFORM/bin"
export TOOLCHAIN_NAME="arm-linux-androideabi-4.8"
export TOOLCHAIN_PATH="$ANDROID_NDK_ROOT/toolchains/arm-linux-androideabi-$NDK_ABI_VER/prebuilt/$NDK_PLATFORM/bin"
export TOOLCHAIN_NAME="arm-linux-androideabi-$NDK_ABI_VER"
export TOOLCHAIN_HOST="arm-linux-androideabi"
export TOOLCHAIN_ARCH="arm"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment