Fixes compile error
[chromium-blink-merge.git] / build / toolchain / goma.gni
blobc0f4cf2825289f9bccaba909318d1e1d535b9f55
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # Defines the configuration of Goma.
7 # This is currently designed to match the GYP build exactly, so as not to break
8 # people during the transition.
10 declare_args() {
11   # Set to true to enable distributed compilation using Goma.
12   use_goma = false
14   # Set the default value based on the platform.
15   if (is_win) {
16     # Absolute directory containing the Goma source code.
17     goma_dir = "C:\goma\goma-win"
18   } else {
19     # Absolute directory containing the Goma source code.
20     goma_dir = getenv("HOME") + "/goma"
21   }