Merge pull request #25820 from hribz/master
[xbmc.git] / tools / buildsteps / android-x86_64 / configure-depends
blob2904210955c396f12307918f346347989d4b1311
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=$SDK_PATH/ndk/$NDK_VERSION
8 if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
9 then
10   cd $WORKSPACE/tools/depends;./configure \
11     --with-tarballs=$TARBALLS \
12     --host=x86_64-linux-android \
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 $DEBUG_SWITCH