OLD | NEW |
1 # MB - The Meta-Build wrapper | 1 # MB - The Meta-Build wrapper |
2 | 2 |
3 MB is a simple wrapper intended to provide a uniform interface to either | 3 MB is a simple wrapper intended to provide a uniform interface to either |
4 GYP or GN, such that users and bots can call one script and not need to | 4 GYP or GN, such that users and bots can call one script and not need to |
5 worry about whether a given bot is meant to use GN or GYP. | 5 worry about whether a given bot is meant to use GN or GYP. |
6 | 6 |
7 It supports two main functions: | 7 It supports two main functions: |
8 | 8 |
9 1. "gen" - the main `gyp_chromium` / `gn gen` invocation that generates the | 9 1. "gen" - the main `gyp_chromium` / `gn gen` invocation that generates the |
10 Ninja files needed for the build. | 10 Ninja files needed for the build. |
11 | 11 |
12 2. "analyze" - the step that takes a list of modified files and a list of | 12 2. "analyze" - the step that takes a list of modified files and a list of |
13 desired targets and reports which targets will need to be rebuilt. | 13 desired targets and reports which targets will need to be rebuilt. |
14 | 14 |
15 We also use MB as a forcing function to collect all of the different | 15 We also use MB as a forcing function to collect all of the different |
16 build configurations that we actually support for Chromium builds into | 16 build configurations that we actually support for Chromium builds into |
17 one place, in `//tools/mb/mb_config.pyl`. | 17 one place, in `//tools/mb/mb_config.pyl`. |
18 | 18 |
19 For more information, see: | 19 For more information, see: |
20 | 20 |
21 * [The User Guide](docs/user_guide.md) | 21 * [The User Guide](docs/user_guide.md) |
22 * [The Design Spec](docs/design_spec.md) | 22 * [The Design Spec](docs/design_spec.md) |
OLD | NEW |