Index: build/toolchain/goma.gni |
diff --git a/build/toolchain/goma.gni b/build/toolchain/goma.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c0f4cf2825289f9bccaba909318d1e1d535b9f55 |
--- /dev/null |
+++ b/build/toolchain/goma.gni |
@@ -0,0 +1,22 @@ |
+# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# Defines the configuration of Goma. |
+# |
+# This is currently designed to match the GYP build exactly, so as not to break |
+# people during the transition. |
+ |
+declare_args() { |
+ # Set to true to enable distributed compilation using Goma. |
+ use_goma = false |
+ |
+ # Set the default value based on the platform. |
+ if (is_win) { |
+ # Absolute directory containing the Goma source code. |
+ goma_dir = "C:\goma\goma-win" |
+ } else { |
+ # Absolute directory containing the Goma source code. |
+ goma_dir = getenv("HOME") + "/goma" |
+ } |
+} |