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
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