Merge pull request #25820 from hribz/master
[xbmc.git] / tools / buildsteps / android-x86_64 / prepare-depends
blobb4d02b7a2e38215412f0dff4e423940baf734c7a
1 WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
2 XBMC_PLATFORM_DIR=android
3 . $WORKSPACE/tools/buildsteps/defaultenv
5 #clean without depends for skipping depends build if possible
6 #also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
7 cd $WORKSPACE;git clean -xfd -e "cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
9 # if depends path has changed - cleanout everything and do a full rebuild
10 if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
11 then
12   #clean up the rest too
13   cd $WORKSPACE;git clean -xffd
14   cd $WORKSPACE/tools/depends/;./bootstrap