]> granicus.if.org Git - libvpx/commitdiff
Merge "Fail early when android target does not include --sdk-path"
authorJohann Koenig <johannkoenig@google.com>
Thu, 23 Jun 2016 19:04:51 +0000 (19:04 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Thu, 23 Jun 2016 19:04:52 +0000 (19:04 +0000)
build/make/configure.sh

index 29aa3cc1958f53904ccb51b35deb6d8d39211ec5..f8383da270e7066c18d3e37eee2c50c089a8da0d 100644 (file)
@@ -1015,6 +1015,10 @@ EOF
           ;;
 
         android*)
+          if [ -z "${sdk_path}" ]; then
+            die "Must specify --sdk-path for Android builds."
+          fi
+
           SDK_PATH=${sdk_path}
           COMPILER_LOCATION=`find "${SDK_PATH}" \
                              -name "arm-linux-androideabi-gcc*" -print -quit`