mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
138d587e3a
Some parts of the Dart build need to be customized when running the host steps for a build ultimately targeting a Fuchsia build. This was set by passing a special GN variable indicating that a configuration was a host configuration targeting a Fuchsia build, but the built-in GN variable 'target_os' has the same result as it is the same across all toolchains in a particular build. This replaces the test: is_fuchsia || is_fuchsia_host with the equivalent: target_os == "fuchsia" and the less common: is_fuchsia_host with: target_os != current_os && target_os == "fuchsia" Change-Id: Iabec1fb2879b234ca44c9e03b2f4a62ffbc6fa4a Reviewed-on: https://dart-review.googlesource.com/35542 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Zach Anderson <zra@google.com> |
||
---|---|---|
.. | ||
config | ||
linux | ||
mac | ||
sanitizers | ||
toolchain | ||
win | ||
.gitignore | ||
compiled_action.gni | ||
copy_tree.gni | ||
dart_host_sdk_toolchain.gni | ||
detect_host_arch.py | ||
executable_suffix.gni | ||
gn_helpers.py | ||
gn_run_binary.py | ||
prebuilt_dart_sdk.gni | ||
README.dart.md | ||
vs_toolchain.py |
This directory was taken from a snapshot of flutter/engine/src/build/.
The snapshot was taken with a recursive copy cp -R
of the directory from
the flutter repository.
The contents has now diverged significantly from Flutter, and is maintained independantly by the Dart team. It is used to support the GN build system.