android: Use use_goma=1 gomadir gyp defines instead of magic GOMA_DIR env var.
commit91b912902328498486474321038d8678dad5798e
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 18 Jan 2014 23:54:41 +0000 (18 23:54 +0000)
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 18 Jan 2014 23:54:41 +0000 (18 23:54 +0000)
tree3c5829ff227b270601f642e7cb7498291f3000c3
parent43c9dcc97bbaf0e9859d611636f820377fca4b77
android: Use use_goma=1 gomadir gyp defines instead of magic GOMA_DIR env var.

For a short transition period, let envsetup.sh set the right GYP_DEFINES when
GOMA_DIR is set, so that people aren't broken immediately after this lands.

Also stop setting GOMA_COMPILER_PROXY_THREADS – if the value this sets
is truly better, that should be the default in goma, it shouldn't be set in
envsetup.sh (doing it in goma has the advantage that it works on all
platforms, also abstraction barriers, etc.)

BUG=332697
R=brettw@chromium.org, ilevy@chromium.org

Review URL: https://codereview.chromium.org/142393002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245801 0039d316-1c4b-4281-b951-d872f2087c98
build/android/buildbot/bb_run_bot.py
build/android/envsetup.sh
build/common.gypi
build/toolchain/android/default_goma_for_android.py [deleted file]
build/toolchain/goma.gni