dart-sdk/build/toolchain/goma.gni
Jonas Termansen 5678fd48cd [infra] Generalize RBE across operating systems.
Bug: b/296994239
Change-Id: Ie8630bcece5c2f62c5693afe654fb9d6367b33e4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345286
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2024-01-10 11:38:43 +00:00

23 lines
690 B
Plaintext

# 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"
}
}