1 WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
2 XBMC_PLATFORM_DIR=android
3 . $WORKSPACE/tools/buildsteps/defaultenv
5 #the following path must exist on the slave and use the defined scheme here!
6 NDK_PATH=$ANDROID_DEV_ROOT/android-ndk-r$NDK_VERSION
8 if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
10 cd $WORKSPACE/tools/depends;./configure \
11 --with-tarballs=$TARBALLS \
12 --host=arm-linux-androideabi \
13 --with-sdk-path=$SDK_PATH \
14 --with-ndk-path=$NDK_PATH \
15 $(if [ "$NDK_API" != "Default" ]; then echo --with-ndk-api=$NDK_API;fi) \
16 --prefix=$XBMC_DEPENDS_ROOT \