dart-sdk/build/toolchain
Jonas Termansen b3253d9c8b [infra] RBE all the things.
This change offloads all Dart actions during the build to RBE using
the new rewrapper_dart.py script that understands all the different
command line invocations of Dart programs and translates it into the
appropriate rewrapper invocation, with a full list of input and output
files and no absolute paths.

The dart actions are all considered to be expensive RBE compilation
steps that may be much slower on RBE than locally due to the low
parallelism of the build during these stages and the comperatively
slower bots in the RBE pools. The build uses the racing strategy by
default for these compilations, such that cache hits are still used
if available, and otherwise a local build is transparently used if it
happens to be faster. The bots will use the remote strategy by default
unlike developers, such that the rewrapper_dart.py script does not fail.

rewrapper_dart.py contains a tiny dart import proprocessor written
in python and a big argument parser that understands every command
invoked during the build and the semantic meaning of every option.

The absolute paths used during the Dart SDK build is not solved in
this changelist, which just works around them initially, but these
will be fixed in follow up changes with the appropriate teams now
that this change proves they are not needed.

Bug: b/333595242
Change-Id: I36603ec1bf16f4ac87d56635cc1c98e8686a4028
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335827
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2024-04-11 23:02:16 +00:00
..
android [infra] Remove Goma support. 2024-04-02 22:54:19 +00:00
fuchsia [infra] Remove Goma support. 2024-04-02 22:54:19 +00:00
linux [build] Don't assume x64 host when setting up gcc toolchains. 2024-04-11 20:03:12 +00:00
mac [infra] Remove Goma support. 2024-04-02 22:54:19 +00:00
win [infra] Remove Goma support. 2024-04-02 22:54:19 +00:00
ccache.gni Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
gcc_toolchain.gni [infra] Reland "Begin RBE Linux x64 support." 2023-10-24 14:36:19 +00:00
get_concurrent_links.py [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
rbe.gni [infra] RBE all the things. 2024-04-11 23:02:16 +00:00
signing.gni [gn] Support producing signed builds on Mac 2023-11-03 07:36:25 +00:00