mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![P.Y. Laligand](/assets/img/avatar_default.png)
It can now be defined in a config file rather than requiring a gen argument. Change-Id: I8f11394ee0387683c9ce48764a04b4bdf54fed9b Bug: Reviewed-on: https://dart-review.googlesource.com/18687 Reviewed-by: Zach Anderson <zra@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
|
|
}
|