Index: build/android/envsetup.sh |
diff --git a/build/android/envsetup.sh b/build/android/envsetup.sh |
index 90835840d681e8fe5ede08f107692aea6c348ae8..390f07cebbb7ebf29cc005bb5eb92044c6371c54 100755 |
--- a/build/android/envsetup.sh |
+++ b/build/android/envsetup.sh |
@@ -59,6 +59,10 @@ export ANDROID_SDK_VERSION=16 |
. "$(dirname $BASH_SOURCE)"/envsetup_functions.sh |
if [[ "${ANDROID_SDK_BUILD}" -eq 1 ]]; then |
+ process_options "$@" |
+ if [[ -z "${TARGET_ARCH}" ]]; then |
+ return 1 |
+ fi |
sdk_build_init |
# Sets up environment for building Chromium for Android with source. Expects |
# android environment setup and lunch. |