@@ -20,7 +20,7 @@ For more discussion of MB, see also [the design spec](design_spec.md).
2020
2121### ` mb analyze `
2222
23- ` mb analyze ` is responsible for determining what targets are affected by
23+ ` mb analyze ` is reponsible for determining what targets are affected by
2424a list of files (e.g., the list of files in a patch on a trybot):
2525
2626```
@@ -45,12 +45,12 @@ a single object with the following fields:
4545 reflect the stuff we might want to build * in addition to* the list
4646 passed in ` test_targets ` . Targets in this list will be treated
4747 specially, in the following way: if a given target is a "meta"
48- (GN: group, GYP: none) target like 'blink_tests' or
49- 'chromium_builder_tests', or even the ninja-specific 'all' target,
50- then only the * dependencies * of the target that are affected by
51- the modified files will be rebuilt (not the target itself, which
52- might also cause unaffected dependencies to be rebuilt). An empty
53- list will be treated as if there are no additional targets to build.
48+ (GN: group, GYP: none) target like 'blink_tests' or or even the
49+ ninja-specific 'all' target, then only the * dependencies * of the
50+ target that are affected by the modified files will be rebuilt
51+ (not the target itself, which might also cause unaffected dependencies
52+ to be rebuilt). An empty list will be treated as if there are no additional
53+ targets to build.
5454 Empty lists for both ` test_targets ` and ` additional_compile_targets `
5555 would cause no work to be done, so will result in an error.
5656 * ` targets ` : a legacy field that resembled a union of ` compile_targets `
@@ -167,6 +167,21 @@ The `-f/--config-file` and `-q/--quiet` flags work as documented for
167167This is mostly useful as a presubmit check and for verifying changes to
168168the config file.
169169
170+ ### ` mb gerrit-buildbucket-config `
171+
172+ Generates a gerrit buildbucket configuration file and prints it to
173+ stdout. This file contains the list of trybots shown in gerrit's UI.
174+
175+ The master copy of the buildbucket.config file lives
176+ in a separate branch of the chromium repository. Run `mb
177+ gerrit-buildbucket-config > buildbucket.config.new && git fetch origin
178+ refs/meta/config: refs /remotes/origin/meta/config && git checkout
179+ -t -b meta_config origin/meta/config && mv buildbucket.config.new
180+ buildbucket.config` to update the file.
181+
182+ Note that after committing, ` git cl upload ` will not work. Instead, use `git
183+ push origin HEAD: refs /for/refs/meta/config` to upload the CL for review.
184+
170185## Isolates and Swarming
171186
172187` mb gen ` is also responsible for generating the ` .isolate ` and
0 commit comments