[Subtitles] Partial fix for text/border color gap
[xbmc.git] / tools / buildsteps / android / package
blob65643ed3ad601d6a8819bc5f06a6d502cd3ab00b
1 WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
2 XBMC_PLATFORM_DIR=android
3 . $WORKSPACE/tools/buildsteps/defaultenv
5 if [ "x$BUILD_OBB" == "xtrue" ]; then
6   TARGET=apk-obb
7 else
8   TARGET=apk
9 fi
11 cd $WORKSPACE/build;make -j$BUILDTHREADS $TARGET
13 cd $WORKSPACE
15 #rename for upload
16 #e.x. xbmc-20130314-8c2fb31-Frodo-armeabi-v7a.apk
17 UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-armeabi-v7a"
18 mv kodiapp-armeabi-*.apk $UPLOAD_FILENAME.apk
19 if [ -f *.obb ]
20 then
21   mv *.obb $UPLOAD_FILENAME.obb