summaryrefslogtreecommitdiffstats
path: root/build/android
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-02 22:14:53 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-02 22:14:53 +0000
commit6dfe7d39fe4beb3ac1d43962ed9b952bf46b9601 (patch)
treecec2008a5278e9635b309f0f1fe0721831ab4727 /build/android
parentf667d1a4d5729fe743909e253304e7e679415946 (diff)
downloadchromium_src-6dfe7d39fe4beb3ac1d43962ed9b952bf46b9601.zip
chromium_src-6dfe7d39fe4beb3ac1d43962ed9b952bf46b9601.tar.gz
chromium_src-6dfe7d39fe4beb3ac1d43962ed9b952bf46b9601.tar.bz2
envsetup: Remove host_arch bitness check, let android_gyp print that it's going away.
Since it's no longer necessary to source envsetup, having a bitness check in here isn't very useful. Let build/gyp_chromium always pass --check for android so that it behaves the same as android_gyp and let android_gyp print a note that it'll disappear eventually. BUG=330631 NOTRY=true Review URL: https://codereview.chromium.org/222203005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261195 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android')
-rwxr-xr-xbuild/android/envsetup.sh19
1 files changed, 1 insertions, 18 deletions
diff --git a/build/android/envsetup.sh b/build/android/envsetup.sh
index f558f13..b7ed352 100755
--- a/build/android/envsetup.sh
+++ b/build/android/envsetup.sh
@@ -14,21 +14,6 @@ fi
SCRIPT_DIR="$(dirname "${BASH_SOURCE:-$0}")"
-# Get host architecture, and abort if it is 32-bit.
-host_arch=$(uname -m)
-case "${host_arch}" in
- x86_64) # pass
- ;;
- i?86)
- echo "ERROR: Android build requires a 64-bit host build machine."
- return 1
- ;;
- *)
- echo "ERROR: Unsupported host architecture (${host_arch})."
- echo "Try running this script on a Linux/x86_64 machine instead."
- return 1
-esac
-
CURRENT_DIR="$(readlink -f "${SCRIPT_DIR}/../../")"
if [[ -z "${CHROME_SRC}" ]]; then
# If $CHROME_SRC was not set, assume current directory is CHROME_SRC.
@@ -72,9 +57,7 @@ if [[ -n "$CHROME_ANDROID_OFFICIAL_BUILD" ]]; then
export CHROME_BUILD_TYPE="_official"
fi
-# Performs a gyp_chromium run to convert gyp->Makefile for android code.
android_gyp() {
- # This is just a simple wrapper of gyp_chromium, please don't add anything
- # in this function.
+ echo "Please call build/gyp_chromium instead. android_gyp is going away."
"${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@"
}