Companion CL: https://chromium-review.googlesource.com/c/chromium/tools/build/+/3634362 Bug: b/230719743 Change-Id: I52babb62dddbcadeb2854720c3c022ee3e04dbec Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/260321 Commit-Queue: Christoffer Jansson <jansson@webrtc.org> Reviewed-by: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#36829}
MB - The Meta-Build wrapper
MB is a simple wrapper intended 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 is meant to use GN or GYP.
It supports two main functions:
-
"gen" - the main
gyp_chromium/gn geninvocation 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: