mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 17:59:39 +00:00
b3253d9c8b
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> |
||
---|---|---|
.. | ||
bots | ||
buildtools | ||
dart2js | ||
dom | ||
fuchsia | ||
linux_dist_support | ||
package_deps | ||
patches | ||
sdks | ||
spec_parser | ||
test_generators | ||
testing | ||
verify_docs | ||
.gitignore | ||
3xhead_flutter_hooks.sh | ||
addlatexhash.dart | ||
analysis_options.yaml | ||
bisect.dart | ||
build.py | ||
copy_dart.py | ||
copy_tree.py | ||
create_pkg_manifest.py | ||
diff_results.dart | ||
download_chromium_sysroot.sh | ||
experimental_features.yaml | ||
FAKE_COMMITS | ||
find_builders.dart | ||
find_depot_tools.py | ||
gen_fuchsia_test_manifest.py | ||
generate_buildfiles.py | ||
generate_experimental_flags.dart | ||
generate_idefiles.py | ||
generate_package_config.dart | ||
generate_package_config.py | ||
generate_sdk_version_file.py | ||
generate_shim_headers.py | ||
get_dot_git_folder.py | ||
git_cl_try.sh | ||
gn.py | ||
gn_helpers.py | ||
line_doc_comments.dart | ||
list_dart_files.py | ||
list_dart_files_as_depfile.py | ||
make_version.py | ||
manage_deps.dart | ||
minidump.py | ||
opt_out_files.dart | ||
OWNERS | ||
OWNERS_ANALYZER | ||
OWNERS_BUILD | ||
OWNERS_CFE | ||
OWNERS_DEVTOOLS | ||
OWNERS_ECOSYSTEM | ||
OWNERS_ENG | ||
OWNERS_FOUNDATION | ||
OWNERS_GOOGLE3 | ||
OWNERS_INFRA | ||
OWNERS_LANGUAGE | ||
OWNERS_PRODUCT | ||
OWNERS_PUB | ||
OWNERS_VM | ||
OWNERS_WASM | ||
OWNERS_WEB | ||
presubmit.sh | ||
publish_pkg.py | ||
rev_sdk_deps.dart | ||
run_offsets_extractor.dart | ||
run_with_coredumps_enabled.py | ||
set_ia32_sysroot.sh | ||
set_x64_sysroot.sh | ||
spec_parse.py | ||
task_kill.py | ||
test.dart | ||
test.py | ||
utils.py | ||
validate_test_matrix.dart | ||
VERSION | ||
write_dartdoc_options_file.py | ||
write_revision_file.py | ||
write_version_file.py | ||
yaml2json.dart |