
With the development and use of the UTR as far long as it is, these old tools have mostly been obviated. So this adds a deprecation notice to run-swarmed.py as well as "mb.py run". This notice makes the scripts fail, unless --force is passed in. Plan is to let this sit for a while, then eventually delete the scripts. Bug: 386167803 Change-Id: I40a663a1ce4ea6d64d75a8007d14024bf9319d53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6127280 Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com> Commit-Queue: Ben Pastene <bpastene@chromium.org> Reviewed-by: Struan Shrimpton <sshrimp@google.com> Cr-Commit-Position: refs/heads/main@{#1425877}
MB - The Meta-Build wrapper
MB is a simple wrapper around the GN build tool.
It was originally written as part of the GYP->GN migration, in order to provide a uniform interface to either GYP or GN, such that users and bots can call one script and not need to worry about whether a given bot was meant to use GN or GYP.
It eventually grew additional functionality and is now still used even though everything is GN-only.
It supports two main functions:
-
"gen" - the main
gn gen
invocation that generates the Ninja files needed for the build. -
"analyze" - the step that takes a list of modified files and a list of desired targets and reports which targets will need to be rebuilt.
We also use MB as a forcing function to collect all of the different
build configurations that we actually support for Chromium builds into
one place, in //tools/mb/mb_config.pyl
.
For more information, see: