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