dart-sdk/build/toolchain
William Hesse 1b249f5496 Revert "[infra] RBE all the things."
This reverts commit b3253d9c8b.

Reason for revert: Flutter build is broken, it also has a GN variable rbi_dir, and dart_action.gni now imports two conflicting definitions.

Original change's description:
> [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>

Bug: b/333595242
Change-Id: I56c9df11e672e7bd096f2a6e7d0243dccd0396c9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/362385
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: William Hesse <whesse@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2024-04-12 10:08:28 +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 Revert "[infra] RBE all the things." 2024-04-12 10:08:28 +00:00
signing.gni [gn] Support producing signed builds on Mac 2023-11-03 07:36:25 +00:00