Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: build/android/envsetup_functions.sh

Issue 11366243: android: Print error when trying to build on 32-bit host. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use uname -m instead of uname -p Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/envsetup.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/envsetup_functions.sh
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh
index 16ec004227aec6d8d547d3f810c8ecc3f2d4514b..a45c9e9898dcbd2295f3c3a14c3fc359bb545060 100755
--- a/build/android/envsetup_functions.sh
+++ b/build/android/envsetup_functions.sh
@@ -157,6 +157,7 @@ common_gyp_vars() {
print_usage() {
echo "usage: ${0##*/} [--target-arch=value] [--help]" >& 2
echo "--target-arch=value target CPU architecture (arm=default, x86)" >& 2
+ echo "--try-32bit-host try building a 32-bit host architecture" >&2
echo "--help this help" >& 2
}
@@ -167,11 +168,15 @@ print_usage() {
# --help Prints out help message.
################################################################################
process_options() {
+ try_32bit_host_build=
while [[ $1 ]]; do
case "$1" in
--target-arch=*)
target_arch="$(echo "$1" | sed 's/^[^=]*=//')"
;;
+ --try-32bit-host)
+ try_32bit_host_build=true
+ ;;
--help)
print_usage
return 1
« no previous file with comments | « build/android/envsetup.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698