OLD | NEW |
1 # The MB (Meta-Build wrapper) design spec | 1 # The MB (Meta-Build wrapper) design spec |
2 | 2 |
3 [TOC] | 3 [TOC] |
4 | 4 |
5 ## Intro | 5 ## Intro |
6 | 6 |
7 MB is intended to address two major aspects of the GYP -> GN transition | 7 MB is intended to address two major aspects of the GYP -> GN transition |
8 for Chromium: | 8 for Chromium: |
9 | 9 |
10 1. "bot toggling" - make it so that we can easily flip a given bot | 10 1. "bot toggling" - make it so that we can easily flip a given bot |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 This design allows us to determine easily all of the different sets | 404 This design allows us to determine easily all of the different sets |
405 of flags that we need to support, but *not* which flags are used on which | 405 of flags that we need to support, but *not* which flags are used on which |
406 host/target combinations. | 406 host/target combinations. |
407 | 407 |
408 It may be that we should really track the latter. Doing so is just a | 408 It may be that we should really track the latter. Doing so is just a |
409 config file change, however. | 409 config file change, however. |
410 | 410 |
411 ### Non-goals | 411 ### Non-goals |
412 | 412 |
413 * MB is not intended to replace direct invocation of GN or GYP for | 413 * MB is not intended to replace direct invocation of GN or GYP for |
414 complicated build scenarios (aka ChromeOS), where multiple flags need | 414 complicated build scenarios (a.k.a. Chrome OS), where multiple flags need |
415 to be set to user-defined paths for specific toolchains (e.g., where | 415 to be set to user-defined paths for specific toolchains (e.g., where |
416 ChromeOS needs to specify specific board types and compilers). | 416 Chrome OS needs to specify specific board types and compilers). |
417 | 417 |
418 * MB is not intended at this time to be something developers use frequently, | 418 * MB is not intended at this time to be something developers use frequently, |
419 or to add a lot of features to. We hope to be able to get rid of it once | 419 or to add a lot of features to. We hope to be able to get rid of it once |
420 the GYP->GN migration is done, and so we should not add things for | 420 the GYP->GN migration is done, and so we should not add things for |
421 developers that can't easily be added to GN itself. | 421 developers that can't easily be added to GN itself. |
422 | 422 |
423 * MB is not intended to replace the | 423 * MB is not intended to replace the |
424 [CR tool](https://code.google.com/p/chromium/wiki/CRUserManual). Not | 424 [CR tool](https://code.google.com/p/chromium/wiki/CRUserManual). Not |
425 only is it only intended to replace the gyp\_chromium part of `'gclient | 425 only is it only intended to replace the gyp\_chromium part of `'gclient |
426 runhooks'`, it is not really meant as a developer-facing tool. | 426 runhooks'`, it is not really meant as a developer-facing tool. |
OLD | NEW |