dart-sdk/tools
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
..
bots Update scripts with new location of Dart SDK checkout in Flutter engine 2024-04-09 14:45:10 +00:00
buildtools
dart2js
dom [sdk/js_interop] Clean up and add a few minimal API docs 2024-02-12 14:44:54 +00:00
fuchsia
linux_dist_support Remove additional --no-goma options since it's the new default. 2024-03-25 10:35:49 +00:00
package_deps Move the mock package support to analyzer_utilities 2024-04-01 17:04:06 +00:00
patches Update scripts with new location of Dart SDK checkout in Flutter engine 2024-04-09 14:45:10 +00:00
sdks Update checked in SDK to 3.2.4. 2024-01-09 10:42:53 +00:00
spec_parser Update augmented extensionDeclaration, following PR 3701 2024-04-11 14:21:28 +00:00
test_generators
testing [dart2wasm] Make tools/test.py -n dart2wasm-linux-jsshell ... work 2023-11-27 15:51:55 +00:00
verify_docs Mark deprecated Hints with Warning aliases as deprecated 2023-04-13 20:07:36 +00:00
.gitignore
3xhead_flutter_hooks.sh Update scripts with new location of Dart SDK checkout in Flutter engine 2024-04-09 14:45:10 +00:00
addlatexhash.dart
analysis_options.yaml
bisect.dart [tool] Bisection tool 2023-07-13 13:22:26 +00:00
build.py [infra] RBE all the things. 2024-04-11 23:02:16 +00:00
copy_dart.py
copy_tree.py Use an escape sequence for space characters in depfiles generated by the copy_tree script 2024-03-14 15:45:55 +00:00
create_pkg_manifest.py
diff_results.dart
download_chromium_sysroot.sh
experimental_features.yaml Bump version to 3.5. 2024-03-28 00:08:58 +00:00
FAKE_COMMITS
find_builders.dart Revert "[tool] tools/find_builders.dart cbuild opt in" 2024-03-27 13:01:49 +00:00
find_depot_tools.py
gen_fuchsia_test_manifest.py
generate_buildfiles.py
generate_experimental_flags.dart Reland "Bump version to 3.3." 2023-10-06 19:00:58 +00:00
generate_idefiles.py [build] Update Windows SDK to 10.0.22621.0. 2024-02-08 16:06:50 +00:00
generate_package_config.dart Add sample directories to the package config. 2023-11-02 21:00:41 +00:00
generate_package_config.py
generate_sdk_version_file.py
generate_shim_headers.py add tools for generating shim headers 2023-04-19 01:37:48 +00:00
get_dot_git_folder.py
git_cl_try.sh
gn.py [infra] RBE all the things. 2024-04-11 23:02:16 +00:00
gn_helpers.py
line_doc_comments.dart
list_dart_files.py
list_dart_files_as_depfile.py
make_version.py [build] Omit SDK and Git hashes on RBE. 2023-12-20 12:23:56 +00:00
manage_deps.dart
minidump.py
opt_out_files.dart
OWNERS [wasm] Update owners 2024-03-26 10:01:22 +00:00
OWNERS_ANALYZER update analyzer owners 2023-08-09 22:44:26 +00:00
OWNERS_BUILD
OWNERS_CFE
OWNERS_DEVTOOLS Update OWNERS_DEVTOOLS to include all members of the DevTools team 2023-08-22 14:35:00 +00:00
OWNERS_ECOSYSTEM
OWNERS_ENG
OWNERS_FOUNDATION
OWNERS_GOOGLE3
OWNERS_INFRA
OWNERS_LANGUAGE Use OWNERS files to restrict editing of tests/language to language team. 2023-11-16 18:18:00 +00:00
OWNERS_PRODUCT
OWNERS_PUB
OWNERS_VM
OWNERS_WASM [wasm] Update owners 2024-03-26 10:01:22 +00:00
OWNERS_WEB
presubmit.sh
publish_pkg.py
rev_sdk_deps.dart [tools/deps] Adjust commit messages to link to correct repositories 2024-01-09 01:29:48 +00:00
run_offsets_extractor.dart [tools] Pass through offsets extractor arguments to tools/build.py. 2024-01-15 15:36:17 +00:00
run_with_coredumps_enabled.py
set_ia32_sysroot.sh
set_x64_sysroot.sh
spec_parse.py
task_kill.py [infra] Kill stale dartaotruntime processes on bots 2024-04-10 15:09:03 +00:00
test.dart
test.py
utils.py [python3.12] Fix syntax warnings in utils.py scripts 2024-01-12 16:38:51 +00:00
validate_test_matrix.dart
VERSION Bump version to 3.5. 2024-03-28 00:08:58 +00:00
write_dartdoc_options_file.py [dartdoc] Add header and footer options to dartdoc options 2024-02-29 12:49:50 +00:00
write_revision_file.py [build] Omit SDK and Git hashes on RBE. 2023-12-20 12:23:56 +00:00
write_version_file.py [build] Omit SDK and Git hashes on RBE. 2023-12-20 12:23:56 +00:00
yaml2json.dart