mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
![Simon Que](/assets/img/avatar_default.png)
The flag "mac_use_goma_rbe" creates a symlink to the Xcode SDK directory, under $root_build_dir/sdk/xcode_links. e.g. the -isysroot arg in the build command becomes: -isysroot sdk/xcode_links/MacOSX10.15.sdk This is based on a similar solution for Chromium iOS builders: http://crrev.com/c/1946174 http://crrev.com/c/2102649 Bug: b/151697301 Change-Id: Ie65d3ae2b98da5977ad0f5a75f865c838bbbb963 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139782 Commit-Queue: Simon Que <sque@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
27 lines
809 B
Plaintext
27 lines
809 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"
|
|
}
|
|
|
|
# Sets relative symlink path to Xcode SDK path.
|
|
# Based on http://crrev.com/c/1946174.
|
|
mac_use_goma_rbe = false
|
|
}
|