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

Unified Diff: build/toolchain/goma.gni

Issue 164773005: Pull GN @ 252040, update calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: long line Created 6 years, 10 months 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/toolchain/get_default_posix_goma_dir.py ('k') | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/goma.gni
diff --git a/build/toolchain/goma.gni b/build/toolchain/goma.gni
index dca6a4dbfaaf87b94038d27cae39ad237e0f0a06..1f34723ad42f48a57fb5ab151b1667d854380614 100644
--- a/build/toolchain/goma.gni
+++ b/build/toolchain/goma.gni
@@ -8,19 +8,16 @@
# people during the transition.
declare_args() {
+ # Set to true to enable distributed compilation using Goma.
use_goma = false
- goma_dir = ""
-}
-
-if (use_goma && goma_dir == "") {
- # Set the default goma directory. This must be a character-for-character
- # match for the GYP default or else the compilers for the different targets
- # won't match and GYP will assert.
+ # Set the default value based on the platform.
if (is_win) {
- goma_dir = "c:\goma\goma-win"
+ # Absolute directory containing the Goma source code.
+ goma_dir = "C:\goma\goma-win"
} else {
- goma_dir = exec_script("get_default_posix_goma_dir.py", [], "value")
+ # Absolute directory containing the Goma source code.
+ goma_dir = getenv("HOME") + "/goma"
}
}
« no previous file with comments | « build/toolchain/get_default_posix_goma_dir.py ('k') | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698