Clone this repo:

Branches

  1. c7a9109 [WebView Perf] Add android-pixel10_webview-perf-pgo-fieldtrial bot by Mateusz Zbikowski · 12 days ago main
  2. 01eb045 [Android] Remove android_override_version_{code,name} GN args by Victor Hugo Vianna Silva · 13 days ago
  3. 9a3a8fa [Android] Stop overriding versionCode on Android PGO bots by Victor Hugo Vianna Silva · 13 days ago
  4. 49b7cea Rename entries in tools/mb/mb_config.pyl to avoid trichrome by Victor Hugo Vianna Silva · 13 days ago
  5. 52495a3 mb: Remove redundant use_reclient=false from remoteexec mixin by Fumitoshi Ukai · 2 weeks ago

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: