aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/defaultenv
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps/defaultenv')
-rw-r--r--tools/buildsteps/defaultenv7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/buildsteps/defaultenv b/tools/buildsteps/defaultenv
index 39e66ae3c0..68737e6517 100644
--- a/tools/buildsteps/defaultenv
+++ b/tools/buildsteps/defaultenv
@@ -1,6 +1,7 @@
BUILDTHREADS=${BUILDTHREADS:-1}
SDK_VERSION=${SDK_VERSION:-"Default"}
NDK_VERSION=${NDK_VERSION:-"Default"}
+NDK_API=${NDK_API:-"Default"}
Configuration=${Configuration:-"Default"}
XBMC_DEPENDS_ROOT=${XBMC_DEPENDS_ROOT:-"Default"}
DARWIN_ARM_CPU=${DARWIN_ARM_CPU:-"Default"}
@@ -35,6 +36,7 @@ case $XBMC_PLATFORM_DIR in
android)
DEFAULT_SDK_VERSION="21"
DEFAULT_NDK_VERSION="14b"
+ DEFAULT_NDK_API="21"
DEFAULT_XBMC_DEPENDS_ROOT=$WORKSPACE/tools/depends/xbmc-depends
DEFAULT_CONFIGURATION="Debug"
;;
@@ -61,6 +63,11 @@ then
NDK_VERSION=$DEFAULT_NDK_VERSION
fi
+if [ "$NDK_API" == "Default" ]
+then
+ NDK_API=$DEFAULT_NDK_API
+fi
+
if [ "$XBMC_DEPENDS_ROOT" == "Default" ]
then
XBMC_DEPENDS_ROOT=$DEFAULT_XBMC_DEPENDS_ROOT