@@ -20,7 +20,7 @@ For more discussion of MB, see also [the design spec](design_spec.md).
20
20
21
21
### ` mb analyze `
22
22
23
- ` mb analyze ` is responsible for determining what targets are affected by
23
+ ` mb analyze ` is reponsible for determining what targets are affected by
24
24
a list of files (e.g., the list of files in a patch on a trybot):
25
25
26
26
```
@@ -45,12 +45,12 @@ a single object with the following fields:
45
45
reflect the stuff we might want to build * in addition to* the list
46
46
passed in ` test_targets ` . Targets in this list will be treated
47
47
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.
54
54
Empty lists for both ` test_targets ` and ` additional_compile_targets `
55
55
would cause no work to be done, so will result in an error.
56
56
* ` 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
167
167
This is mostly useful as a presubmit check and for verifying changes to
168
168
the config file.
169
169
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
+
170
185
## Isolates and Swarming
171
186
172
187
` mb gen ` is also responsible for generating the ` .isolate ` and
0 commit comments