0
Files
src/tools/mb
Junji Watanabe 587c586fd0 infra: Switch Codesearch builders from Reclient to Siso's builtin client
This CL drops Reclient from Codesearch builders. Siso will use
the builtin RBE client, instead.

Bug: 379584977
Change-Id: Ia4a05a39c44bf38985e949de38c89daf73ca036e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6399336
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Junji Watanabe <jwata@google.com>
Commit-Queue: Junji Watanabe <jwata@google.com>
Cr-Commit-Position: refs/heads/main@{#1438675}
2025-03-27 05:22:41 -07:00
..

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:

  1. "gen" - the main gn gen invocation that generates the Ninja files needed for the build.

  2. "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: