| Index: build/android/envsetup_functions.sh
|
| diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh
|
| index b6cff269becbd6a63a23bb6277ebe19fb3833fe2..7c7557aa5a44ab850dcc9cd9f22a7f6b977c37c3 100755
|
| --- a/build/android/envsetup_functions.sh
|
| +++ b/build/android/envsetup_functions.sh
|
| @@ -158,6 +158,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 "--host-os=value override host OS detection (linux, mac)" >&2
|
| echo "--try-32bit-host try building a 32-bit host architecture" >&2
|
| echo "--help this help" >& 2
|
| }
|
| @@ -169,12 +170,16 @@ print_usage() {
|
| # --help Prints out help message.
|
| ################################################################################
|
| process_options() {
|
| + host_os=$(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')
|
| try_32bit_host_build=
|
| while [[ $1 ]]; do
|
| case "$1" in
|
| --target-arch=*)
|
| target_arch="$(echo "$1" | sed 's/^[^=]*=//')"
|
| ;;
|
| + --host-os=*)
|
| + host_os="$(echo "$1" | sed 's/^[^=]*=//')"
|
| + ;;
|
| --try-32bit-host)
|
| try_32bit_host_build=true
|
| ;;
|
|
|