From: djsollen@google.com Date: Fri, 3 May 2013 14:12:03 +0000 (+0000) Subject: Check for third_party deps before compiling on android X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~12516 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d165de44c89f0dcc88f0a196698744e08662e33f;p=platform%2Fupstream%2FlibSkiaSharp.git Check for third_party deps before compiling on android R=borenet@google.com Review URL: https://codereview.chromium.org/14803004 git-svn-id: http://skia.googlecode.com/svn/trunk@8984 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/platform_tools/android/bin/android_setup.sh b/platform_tools/android/bin/android_setup.sh index 058d943..1ecb013 100755 --- a/platform_tools/android/bin/android_setup.sh +++ b/platform_tools/android/bin/android_setup.sh @@ -26,6 +26,17 @@ if [[ "$?" != "0" ]]; then exit 1 fi +# check to see that gclient sync ran successfully +THIRD_PARTY_EXTERNAL_DIR=${SCRIPT_DIR}/../third_party/externals +if [ ! -d "$ANDROID_TOOLCHAIN" ]; then + echo "" + echo "ERROR: Unable to find the required third_party dependencies needed to build." + echo " To fix this add the following line to your .gclient file and run 'gclient sync'" + echo " target_os = ['android']" + echo "" + exit 1; +fi + # determine the toolchain that we will be using API_LEVEL=14