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