blob: 3753562ace3effe9e87bbbf494a75c3c3a8fe45b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=android
. $WORKSPACE/tools/buildsteps/defaultenv
NDK_ARCH=x86
#the following paths must exist on the slave and use the defined scheme here!
NDK_PATH=$ANDROID_DEV_ROOT/android-ndk-r$NDK_VERSION
TOOLCHAIN=$ANDROID_DEV_ROOT/android-toolchain-$NDK_ARCH-$NDK_API-r$NDK_VERSION
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
then
cd $WORKSPACE/tools/depends;./configure \
--with-tarballs=$TARBALLS \
--host=i686-linux-android \
--with-sdk-path=$SDK_PATH \
--with-ndk-path=$NDK_PATH \
$(if [ "$NDK_API" != "Default" ]; then echo --with-ndk-api=$NDK_API;fi) \
--with-toolchain=$TOOLCHAIN \
--prefix=$XBMC_DEPENDS_ROOT $DEBUG_SWITCH
fi
|