summaryrefslogtreecommitdiff
path: root/chromium/build/toolchain/goma.gni
blob: aeabfa91547b178491a1e8b43e8cef75a7a6f2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"
  }
}