blob: 7bb616647b82e72822130815f24fa4ae27972c0c [file] [log] [blame]
# 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 to true to create symlinks to Xcode toolchain/SDK directories.
#
# RBE does not allow for include paths outside of the buildroot. Creating
# symlinks is a work around for that when using a local Xcode toolchain.
# This property should not be set to true on LUCI.
#
# If use_goma is false, this property is ignored.
create_xcode_symlinks = 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"
}
}