Merge pull request #26254 from ksooo/video-cleanup-contextmenus
[xbmc.git] / tools / buildsteps / android / configure-depends
blobc31f9638d32bf885b3d8a03f863e20546a0fca17
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=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 \
17     $DEBUG_SWITCH