0
Files
src/tools/mb
Tony Seaward cf8ecc1108 [RTS] Move RtsSelect into Isolate function
- Current method assumes target to be passed in but that doesnt always
  happen
- Move into GenerateIsolate to allow for target to exists as it is
  required for the ML Model API

Bug: 360878342

Change-Id: I912b74188b7f7d2d87a3d064f87cebbccc2055aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5961166
Reviewed-by: Struan Shrimpton <sshrimp@google.com>
Commit-Queue: Tony Seaward <seawardt@google.com>
Reviewed-by: Garrett Beaty <gbeaty@google.com>
Cr-Commit-Position: refs/heads/main@{#1392587}
2024-12-05 22:39:55 +00:00
..
2024-12-05 20:50:52 +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: