0
Files
src/tools/mb
Peter Wen 210cf4a710 android: Add GN args for orderfile bots
This will unblock the bot from the current failure:
```
Step('lookup GN args') (retcode: 2)
```

Copied most of the relevant args from the orderfile-clankium bot. Some
of the args are no longer needed as they are now the default.

R=hypan@google.com

Bug: 397441200
Change-Id: Ibaae358af7caee94f41242c62ee90e6e6d7de281
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6334242
Commit-Queue: Haiyang Pan <hypan@google.com>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Auto-Submit: Peter Wen <wnwen@chromium.org>
Reviewed-by: Haiyang Pan <hypan@google.com>
Cr-Commit-Position: refs/heads/main@{#1429139}
2025-03-06 13:45:10 -08: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: