mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:19:48 +00:00
4877587346
This avoids conflicts with client repos that have a file //build/compiled_action.gni with something different in them. Change-Id: I133f66b0989bcb547cb8eed8710a88e2c1384bd7 Reviewed-on: https://dart-review.googlesource.com/53440 Commit-Queue: Zach Anderson <zra@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
17 lines
848 B
Plaintext
17 lines
848 B
Plaintext
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
# dart_host_toolchain should be used in the Dart tree instead of host_toolchain.
|
|
# It will ensure that we are selecting the correct host toolchain.
|
|
dart_host_toolchain = host_toolchain
|
|
|
|
# Config variable: dart_host_sdk_toolchain
|
|
# In a cross-build, this should be set to the toolchain to use to build a Dart
|
|
# SDK to run on the host that targets the host. This is distinct from
|
|
# 'host_toolchain', which in a cross-build builds artifacts to run on the host
|
|
# that target the target architecture.
|
|
if (defined(dart_host_sdk_toolchain) && current_toolchain == dart_host_sdk_toolchain) {
|
|
dart_host_toolchain = dart_host_sdk_toolchain
|
|
}
|