11cb0ef41Sopenharmony_ci# MB - The Meta-Build wrapper
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ciMB is a simple wrapper intended to provide a uniform interface to either
41cb0ef41Sopenharmony_ciGYP or GN, such that users and bots can call one script and not need to
51cb0ef41Sopenharmony_ciworry about whether a given bot is meant to use GN or GYP.
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ciIt supports two main functions:
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ci1. "gen" - the main `gyp_chromium` / `gn gen` invocation that generates the
101cb0ef41Sopenharmony_ci   Ninja files needed for the build.
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_ci2. "analyze" - the step that takes a list of modified files and a list of
131cb0ef41Sopenharmony_ci   desired targets and reports which targets will need to be rebuilt.
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ciWe also use MB as a forcing function to collect all of the different 
161cb0ef41Sopenharmony_cibuild configurations that we actually support for Chromium builds into
171cb0ef41Sopenharmony_cione place, in `//tools/mb/mb_config.pyl`.
181cb0ef41Sopenharmony_ci
191cb0ef41Sopenharmony_ciFor more information, see:
201cb0ef41Sopenharmony_ci
211cb0ef41Sopenharmony_ci* [The User Guide](docs/user_guide.md)
221cb0ef41Sopenharmony_ci* [The Design Spec](docs/design_spec.md)
23