| Index: trunk/src/build/android/envsetup.sh
|
| ===================================================================
|
| --- trunk/src/build/android/envsetup.sh (revision 238718)
|
| +++ trunk/src/build/android/envsetup.sh (working copy)
|
| @@ -119,7 +119,9 @@
|
| # Source a bunch of helper functions
|
| . ${CHROME_SRC}/build/android/adb_device_functions.sh
|
|
|
| +ANDROID_GOMA_WRAPPER=""
|
| if [[ -d $GOMA_DIR ]]; then
|
| + ANDROID_GOMA_WRAPPER="$GOMA_DIR/gomacc"
|
| num_cores="$(grep --count ^processor /proc/cpuinfo)"
|
| # Goma is IO-ish you want more threads than you have cores.
|
| let "goma_threads=num_cores*2"
|
| @@ -129,6 +131,7 @@
|
| export GOMA_COMPILER_PROXY_THREADS
|
| fi
|
| fi
|
| +export ANDROID_GOMA_WRAPPER
|
|
|
| # Declare Android are cross compile.
|
| export GYP_CROSSCOMPILE=1
|
|
|