0
Files
src/tools/mb
Samuel Huang a40adc5376 [Lacros] Create isolate chromeos-amd64-generic-lacros-builder-perf.
Bug: 1106626
Change-Id: Idebe8cd8c62ff99bd3372e31ed7af60abc59bf75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373168
Commit-Queue: Samuel Huang <huangs@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Erik Chen <erikchen@chromium.org>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Sven Zheng <svenzheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803241}
2020-08-31 20:08:21 +00:00
..
2019-10-19 00:15:08 +00:00
2019-12-13 18:02:26 +00:00
2020-08-03 16:11:00 +00:00
2017-12-14 01:47:11 +00: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: