summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/webrtc/build/toolchain/goma.gni
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/webrtc/build/toolchain/goma.gni')
-rw-r--r--third_party/libwebrtc/webrtc/build/toolchain/goma.gni19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/libwebrtc/webrtc/build/toolchain/goma.gni b/third_party/libwebrtc/webrtc/build/toolchain/goma.gni
new file mode 100644
index 0000000000..aeabfa9154
--- /dev/null
+++ b/third_party/libwebrtc/webrtc/build/toolchain/goma.gni
@@ -0,0 +1,19 @@
+# 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.
+
+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 gomacc.exe binary.
+ goma_dir = "C:\goma\goma-win64"
+ } else {
+ # Absolute directory containing the gomacc binary.
+ goma_dir = getenv("HOME") + "/goma"
+ }
+}