| OLD | NEW |
| 1 # Chromium Recipes: Reference Doc | 1 # Chromium Recipes: Reference Doc |
| 2 | 2 |
| 3 [TOC] | 3 [TOC] |
| 4 | 4 |
| 5 ## I just want to.... | 5 ## I just want to.... |
| 6 | 6 |
| 7 This section covers common tasks for chromium developers. If you want a more | 7 This section covers common tasks for chromium developers. If you want a more |
| 8 full background on the chromium recipes, go to the [Background](#Background) | 8 full background on the chromium recipes, go to the [Background](#Background) |
| 9 section. | 9 section. |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 ### Create a New Trybot | 61 ### Create a New Trybot |
| 62 | 62 |
| 63 Every new main waterfall bot *must* have corresponding trybot coverage. In | 63 Every new main waterfall bot *must* have corresponding trybot coverage. In |
| 64 addition, you can request a new trybot if you have a configuration you are | 64 addition, you can request a new trybot if you have a configuration you are |
| 65 interested in testing. | 65 interested in testing. |
| 66 | 66 |
| 67 `chromium` recipe trybots currently are configured by specifying the main | 67 `chromium` recipe trybots currently are configured by specifying the main |
| 68 waterfall configuration they are supposed to emulate. This information is stored | 68 waterfall configuration they are supposed to emulate. This information is stored |
| 69 in the [`chromium_tests/trybots.py`](https://chromium.googlesource.com/chromium/
tools/build.git/+/master/scripts/slave/recipe_modules/chromium_tests/trybots.py) | 69 in the [`chromium_tests/trybots.py`](https://chromium.googlesource.com/chromium/
tools/build.git/+/master/scripts/slave/recipe_modules/chromium_tests/trybots.py) |
| 70 file. So, for example, the `android_chromium_gn_compile_rel` trybot is | 70 file. So, for example, the `linux_android_rel_ng` trybot is |
| 71 configured as follows: | 71 configured as follows: |
| 72 | 72 |
| 73 ... | 73 ... |
| 74 'android_chromium_gn_compile_rel': { | 74 'linux_android_rel_ng': { |
| 75 'mastername': 'chromium.linux', | 75 'mastername': 'chromium.linux', |
| 76 'buildername': 'Android GN', | 76 'buildername': 'Android Builder', |
| 77 'analyze_mode': 'compile', | 77 'tester': 'Android Tests', |
| 78 }, | 78 }, |
| 79 ... | 79 ... |
| 80 | 80 |
| 81 For example, suppose we want to add a builder named `new_fancy_android_device` | 81 For example, suppose we want to add a builder named `new_fancy_android_device` |
| 82 to `tryserver.chromium.android`, which is a copy of the builder named | 82 to `tryserver.chromium.android`, which is a copy of the builder named |
| 83 `fancy_android_device` on the main `chromium.android` waterfall. | 83 `fancy_android_device` on the main `chromium.android` waterfall. |
| 84 We would do the following | 84 We would do the following |
| 85 | 85 |
| 86 1. Add the builder configuration of | 86 1. Add the builder configuration of |
| 87 | 87 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 Path: [build/scripts/slave/recipe_modules/chromium_tests/api.py](https://code.go
ogle.com/p/chromium/codesearch#chromium/build/scripts/slave/recipe_modules/chrom
ium/api.py) | 342 Path: [build/scripts/slave/recipe_modules/chromium_tests/api.py](https://code.go
ogle.com/p/chromium/codesearch#chromium/build/scripts/slave/recipe_modules/chrom
ium/api.py) |
| 343 | 343 |
| 344 Implements methods like `configure_build`, `prepare_checkout`, compile, etc. | 344 Implements methods like `configure_build`, `prepare_checkout`, compile, etc. |
| 345 that take configuration parameters and actually run the steps. | 345 that take configuration parameters and actually run the steps. |
| 346 | 346 |
| 347 ### src/testing/buildbot/*.json: per-master configs: targets & tests | 347 ### src/testing/buildbot/*.json: per-master configs: targets & tests |
| 348 | 348 |
| 349 Example config: [src/testing/buildbot/chromium.mac.json](https://code.google.com
/p/chromium/codesearch#chromium/src/testing/buildbot/chromium.mac.json&sq=packag
e:chromium) | 349 Example config: [src/testing/buildbot/chromium.mac.json](https://code.google.com
/p/chromium/codesearch#chromium/src/testing/buildbot/chromium.mac.json&sq=packag
e:chromium) |
| 350 | 350 |
| 351 These configs live in the project repo, and define additional compile targets an
d specific tests to run on each builder. | 351 These configs live in the project repo, and define additional compile targets an
d specific tests to run on each builder. |
| OLD | NEW |