aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/android/prepare-depends
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2013-03-24 02:23:37 +0100
committerMemphiz <memphis@machzwo.de>2013-03-26 21:23:06 +0100
commit6db72f913d66f3d5fd21129fc0c60958e72a4733 (patch)
tree28bfc9db5f7a2741c3b3b954c10089b523d66016 /tools/buildsteps/android/prepare-depends
parent16c7ddf4f307a8efb9c8687bb649f54ff896c466 (diff)
[jenkins] - welcome jenkins support for osx/ios/atv2/android to mainline :o) - add buildsteps for usage with jenkins
Diffstat (limited to 'tools/buildsteps/android/prepare-depends')
-rw-r--r--tools/buildsteps/android/prepare-depends13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/buildsteps/android/prepare-depends b/tools/buildsteps/android/prepare-depends
new file mode 100644
index 0000000000..8aabe48b7c
--- /dev/null
+++ b/tools/buildsteps/android/prepare-depends
@@ -0,0 +1,13 @@
+WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
+XBMC_PLATFORM_DIR=android
+. $WORKSPACE/tools/buildsteps/defaultenv
+
+#clean without depends for skipping depends build if possible
+cd $WORKSPACE;git clean -xfd -e "tools/depends"
+
+if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
+then
+ #clean up the rest too
+ cd $WORKSPACE;git clean -xfd
+ cd $WORKSPACE/tools/depends/;./bootstrap
+fi