OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 # This is the list of configs that you can pass to mb; each config | 6 # This is the list of configs that you can pass to mb; each config |
7 # represents a particular combination of GYP_DEFINES/gn args that | 7 # represents a particular combination of GYP_DEFINES/gn args that |
8 # we must support. A given config *may* be platform-specific but | 8 # we must support. A given config *may* be platform-specific but |
9 # is not necessarily so (i.e., we might have mac, win, and linux | 9 # is not necessarily so (i.e., we might have mac, win, and linux |
10 # bots all using the 'gn_release_bot' config). | 10 # bots all using the 'gn_release_bot' config). |
11 'configs': { | 11 'configs': { |
12 'android_cast_gyp_debug_static_bot': ['android', 'cast', 'gyp', 'debug_stati
c_bot'], | 12 'android_cast_gyp_debug_static_bot': ['android', 'cast', 'gyp', 'debug_stati
c_bot'], |
13 'android_clang_asan_gyp_debug_bot': ['android', 'clang', 'asan', 'gyp', 'deb
ug_bot'], | 13 'android_clang_asan_gyp_debug_bot': ['android', 'clang', 'asan', 'gyp', 'deb
ug_bot'], |
14 'android_gn_debug_bot': ['android', 'gn', 'debug_bot'], | 14 'android_gn_debug_bot': ['android', 'gn', 'debug_bot'], |
15 'android_aura_gn_debug_bot': ['android', 'gn', 'debug_bot', 'aura'], | 15 'android_aura_gn_debug_bot': ['android', 'gn', 'debug_bot', 'aura'], |
16 'android_gn_release_bot': ['android', 'gn', 'release_bot'], | 16 'android_gn_release_bot': ['android', 'gn', 'release_bot'], |
17 'android_gn_release_trybot': ['android', 'gn', 'release_trybot'], | 17 'android_gn_release_trybot': ['android', 'gn', 'release_trybot'], |
18 'android_gyp_debug_bot': ['android', 'gyp', 'debug_bot'], | 18 'android_gyp_debug_bot': ['android', 'gyp', 'debug_bot'], |
19 'android_gyp_debug_static_bot': ['android', 'gyp', 'debug_static_bot'], | 19 'android_gyp_debug_static_bot': ['android', 'gyp', 'debug_static_bot'], |
20 'android_gyp_debug_static_bot_arm64': ['android', 'gyp', 'debug_static_bot',
'arm64'], | 20 'android_gyp_debug_static_bot_arm64': ['android', 'gyp', 'debug_static_bot',
'arm64'], |
21 'android_gyp_release_bot': ['android', 'gyp', 'release_bot'], | 21 'android_gyp_release_bot': ['android', 'gyp', 'release_bot'], |
| 22 'android_gyp_release_bot_minimal_symbols': ['android', 'gyp', 'release_bot',
'minimal_symbols'], |
22 'android_gyp_release_trybot': ['android', 'gyp', 'release_trybot'], | 23 'android_gyp_release_trybot': ['android', 'gyp', 'release_trybot'], |
23 'cast_gyp_release_bot': ['cast', 'gyp', 'release_bot'], | 24 'cast_gyp_release_bot': ['cast', 'gyp', 'release_bot'], |
24 'cast_gyp_release_trybot': ['cast', 'gyp', 'release_trybot'], | 25 'cast_gyp_release_trybot': ['cast', 'gyp', 'release_trybot'], |
25 'chromeos_gn_debug_bot': ['chromeos', 'gn', 'debug_bot'], | 26 'chromeos_gn_debug_bot': ['chromeos', 'gn', 'debug_bot'], |
26 'chromeos_gn_release_bot': ['chromeos', 'gn', 'release_bot'], | 27 'chromeos_gn_release_bot': ['chromeos', 'gn', 'release_bot'], |
27 'chromeos_gn_release_trybot': ['chromeos', 'gn', 'release_trybot'], | 28 'chromeos_gn_release_trybot': ['chromeos', 'gn', 'release_trybot'], |
28 'dev_gn_debug': ['gn', 'debug', 'shared', 'full_symbols'], | 29 'dev_gn_debug': ['gn', 'debug', 'shared', 'full_symbols'], |
29 'dev_gn_release': ['gn', 'release', 'shared'], | 30 'dev_gn_release': ['gn', 'release', 'shared'], |
30 'dev_gyp_debug': ['gyp', 'debug', 'shared', 'full_symbols'], | 31 'dev_gyp_debug': ['gyp', 'debug', 'shared', 'full_symbols'], |
31 'dev_gyp_release': ['gyp', 'release', 'shared'], | 32 'dev_gyp_release': ['gyp', 'release', 'shared'], |
(...skipping 19 matching lines...) Expand all Loading... |
51 'gyp_official_goma_minimal_symbols_android_arm64': ['gyp', 'official', 'goma
', 'minimal_symbols', 'android', 'arm64'], | 52 'gyp_official_goma_minimal_symbols_android_arm64': ['gyp', 'official', 'goma
', 'minimal_symbols', 'android', 'arm64'], |
52 'gyp_official_goma_minimal_symbols_x64': ['gyp', 'official', 'goma', 'minima
l_symbols', 'x64'], | 53 'gyp_official_goma_minimal_symbols_x64': ['gyp', 'official', 'goma', 'minima
l_symbols', 'x64'], |
53 'gyp_official_goma_minimal_symbols_x86': ['gyp', 'official', 'goma', 'minima
l_symbols', 'x86'], | 54 'gyp_official_goma_minimal_symbols_x86': ['gyp', 'official', 'goma', 'minima
l_symbols', 'x86'], |
54 'gyp_release_bot_arm': ['gyp', 'release_bot', 'arm', 'crosscompile'], | 55 'gyp_release_bot_arm': ['gyp', 'release_bot', 'arm', 'crosscompile'], |
55 'gyp_release_trybot': ['gyp', 'release_trybot'], | 56 'gyp_release_trybot': ['gyp', 'release_trybot'], |
56 'libfuzzer_upload_bot': ['gn', 'release', 'libfuzzer', 'asan'], | 57 'libfuzzer_upload_bot': ['gn', 'release', 'libfuzzer', 'asan'], |
57 | 58 |
58 # This is just for completeness; any bot that uses this config should never
actually run MB. | 59 # This is just for completeness; any bot that uses this config should never
actually run MB. |
59 'none': ['none'], | 60 'none': ['none'], |
60 | 61 |
| 62 'noswarming_gyp_release_bot': ['noswarming', 'gyp', 'release_bot'], |
| 63 'noswarming_gyp_release_bot_linux_dump_symbols': ['noswarming', 'gyp', 'rele
ase_bot', 'linux_dump_symbols'], |
| 64 'noswarming_gyp_release_bot_mac_strip': ['noswarming', 'gyp', 'release_bot',
'mac_strip'], |
| 65 'noswarming_gyp_release_bot_x86_linux_dump_symbols': ['noswarming', 'gyp', '
release_bot', 'x86', 'linux_dump_symbols'], |
| 66 |
61 'swarming_asan_lsan_gyp_release_trybot': ['swarming', 'asan', 'lsan', 'relea
se_trybot'], | 67 'swarming_asan_lsan_gyp_release_trybot': ['swarming', 'asan', 'lsan', 'relea
se_trybot'], |
62 'swarming_msan_gyp_release_trybot': ['swarming', 'chromeos', 'msan', 'gyp',
'release_trybot'], | 68 'swarming_msan_gyp_release_trybot': ['swarming', 'chromeos', 'msan', 'gyp',
'release_trybot'], |
63 'swarming_deterministic_gyp_release_bot': ['swarming', 'deterministic', 'gyp
', 'release_bot'], | 69 'swarming_deterministic_gyp_release_bot': ['swarming', 'deterministic', 'gyp
', 'release_bot'], |
64 'swarming_gpu_tests_gn_release_trybot': ['swarming', 'gpu_tests', 'gn', 'rel
ease_trybot'], | 70 'swarming_gpu_tests_gn_release_trybot': ['swarming', 'gpu_tests', 'gn', 'rel
ease_trybot'], |
65 'swarming_gpu_tests_gyp_debug_trybot': ['swarming', 'gpu_tests', 'gyp', 'deb
ug_trybot'], | 71 'swarming_gpu_tests_gyp_debug_trybot': ['swarming', 'gpu_tests', 'gyp', 'deb
ug_trybot'], |
66 'swarming_gpu_tests_gyp_release_trybot': ['swarming', 'gpu_tests', 'gyp', 'r
elease_trybot'], | 72 'swarming_gpu_tests_gyp_release_trybot': ['swarming', 'gpu_tests', 'gyp', 'r
elease_trybot'], |
67 'swarming_gn_debug_bot': ['swarming', 'gn', 'debug_bot'], | 73 'swarming_gn_debug_bot': ['swarming', 'gn', 'debug_bot'], |
68 'swarming_gn_debug_trybot': ['swarming', 'gn', 'debug_trybot'], | 74 'swarming_gn_debug_trybot': ['swarming', 'gn', 'debug_trybot'], |
69 'swarming_gn_release_bot': ['swarming', 'gn', 'release_bot'], | 75 'swarming_gn_release_bot': ['swarming', 'gn', 'release_bot'], |
70 'swarming_gn_release_trybot': ['swarming', 'gn', 'release_bot'], | 76 'swarming_gn_release_trybot': ['swarming', 'gn', 'release_bot'], |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 235 |
230 'gpu_tests': { | 236 'gpu_tests': { |
231 'gn_args': '', # not needed in GN builds. | 237 'gn_args': '', # not needed in GN builds. |
232 'gyp_defines': 'archive_gpu_tests=1', | 238 'gyp_defines': 'archive_gpu_tests=1', |
233 }, | 239 }, |
234 | 240 |
235 'gyp': {'type': 'gyp'}, | 241 'gyp': {'type': 'gyp'}, |
236 | 242 |
237 'libfuzzer': { 'gn_args': 'use_libfuzzer=true' }, | 243 'libfuzzer': { 'gn_args': 'use_libfuzzer=true' }, |
238 | 244 |
| 245 'linux_dump_symbols': { |
| 246 'gn_args': 'error', # TODO(GYP): Port linux_dump_symbols? |
| 247 'gyp_defines': 'linux_dump_symbols=1', |
| 248 }, |
| 249 |
239 'lsan': { | 250 'lsan': { |
240 'gn_args': 'use_lsan=true', | 251 'gn_args': 'use_lsan=true', |
241 'gyp_defines': 'lsan=1', | 252 'gyp_defines': 'lsan=1', |
242 }, | 253 }, |
243 | 254 |
| 255 'mac_strip': { |
| 256 'gn_args': 'error', # TODO(GYP): Port mac_strip_release |
| 257 'gyp_defines': 'mac_strip_release=1', |
| 258 }, |
| 259 |
244 'minimal_symbols': { | 260 'minimal_symbols': { |
245 'gn_args': 'symbol_level=1', | 261 'gn_args': 'symbol_level=1', |
246 'gyp_defines': 'fastbuild=1', | 262 'gyp_defines': 'fastbuild=1', |
247 }, | 263 }, |
248 | 264 |
249 'msan': { | 265 'msan': { |
250 'gn_args': 'use_msan=true', | 266 'gn_args': 'use_msan=true', |
251 'gyp_defines': 'msan=1 msan_track_origins=2 use_prebuilt_instrumented_libr
aries=1', | 267 'gyp_defines': 'msan=1 msan_track_origins=2 use_prebuilt_instrumented_libr
aries=1', |
252 }, | 268 }, |
253 | 269 |
254 'no_symbols': { | 270 'no_symbols': { |
255 'gn_args': 'symbol_level=0', | 271 'gn_args': 'symbol_level=0', |
256 'gyp_defines': 'fastbuild=2', | 272 'gyp_defines': 'fastbuild=2', |
257 }, | 273 }, |
258 | 274 |
259 # This config is used by bots that aren't building Chromium and should | 275 # This config is used by bots that aren't building Chromium and should |
260 # never be running MB. It is used for tracking purposes. These values | 276 # never be running MB. It is used for tracking purposes. These values |
261 # were picked such that if someone did try to run MB, both GN and GYP | 277 # were picked such that if someone did try to run MB, both GN and GYP |
262 # should error out. | 278 # should error out. |
263 'none': { | 279 'none': { |
264 'gn_args': 'error', | 280 'gn_args': 'error', |
265 'gyp_defines': 'target_arch=unknown', | 281 'gyp_defines': 'target_arch=unknown', |
266 }, | 282 }, |
267 | 283 |
| 284 'noswarming': { |
| 285 'gn_args': '', |
| 286 'gyp_defines': 'test_isolation_mode=noop', |
| 287 }, |
| 288 |
268 'official': { | 289 'official': { |
269 'gn_args': 'is_chrome_branded=true is_official_build=true is_debug=false', | 290 'gn_args': 'is_chrome_branded=true is_official_build=true is_debug=false', |
270 'gyp_defines': 'branding=Chrome buildtype=Official', | 291 'gyp_defines': 'branding=Chrome buildtype=Official', |
271 }, | 292 }, |
272 | 293 |
273 'release': { | 294 'release': { |
274 'gn_args': 'is_debug=false', | 295 'gn_args': 'is_debug=false', |
275 }, | 296 }, |
276 | 297 |
277 'release_bot': { | 298 'release_bot': { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 # config names (where each config name is a key in the 'configs' dict, | 342 # config names (where each config name is a key in the 'configs' dict, |
322 # above). mb uses this dict to look up which config to use for a given bot. | 343 # above). mb uses this dict to look up which config to use for a given bot. |
323 # The builders should be sorted by the order they appear in the /builders | 344 # The builders should be sorted by the order they appear in the /builders |
324 # page on the buildbots, *not* alphabetically. | 345 # page on the buildbots, *not* alphabetically. |
325 # | 346 # |
326 # TODO(crbug.com/481692): Add in remaining bots on the waterfalls. | 347 # TODO(crbug.com/481692): Add in remaining bots on the waterfalls. |
327 'masters': { | 348 'masters': { |
328 'chrome': { | 349 'chrome': { |
329 'precise64': 'gyp_official', | 350 'precise64': 'gyp_official', |
330 }, | 351 }, |
| 352 'chromium': { |
| 353 'Win': 'noswarming_gyp_release_bot', |
| 354 'Mac': 'noswarming_gyp_release_bot_mac_strip', |
| 355 'Linux x64': 'noswarming_gyp_release_bot_linux_dump_symbols', |
| 356 'Linux': 'noswarming_gyp_release_bot_x86_linux_dump_symbols', |
| 357 'Android': 'android_gyp_release_bot_minimal_symbols', |
| 358 }, |
331 'chromium.android': { | 359 'chromium.android': { |
332 'Android GN (dbg)': 'android_gn_debug_bot', | 360 'Android GN (dbg)': 'android_gn_debug_bot', |
333 'Android Aura GN (dbg)': 'android_aura_gn_debug_bot', | 361 'Android Aura GN (dbg)': 'android_aura_gn_debug_bot', |
334 }, | 362 }, |
335 'chromium.chrome': { | 363 'chromium.chrome': { |
336 'Google Chrome Win': 'gyp_official_goma_minimal_symbols_x86', | 364 'Google Chrome Win': 'gyp_official_goma_minimal_symbols_x86', |
337 'Google Chrome Linux': 'gyp_official_goma_x86', | 365 'Google Chrome Linux': 'gyp_official_goma_x86', |
338 'Google Chrome Linux x64': 'gn_official_goma', | 366 'Google Chrome Linux x64': 'gn_official_goma', |
339 'Google Chrome Mac': 'gyp_official_goma', | 367 'Google Chrome Mac': 'gyp_official_goma', |
340 'Google Chrome ChromeOS': 'gyp_official_goma_chromeos', | 368 'Google Chrome ChromeOS': 'gyp_official_goma_chromeos', |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 'win8_chromium_gn_rel': 'gn_release_trybot_x86', | 530 'win8_chromium_gn_rel': 'gn_release_trybot_x86', |
503 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols_x86', | 531 'win8_chromium_gn_upload': 'gn_release_bot_minimal_symbols_x86', |
504 'win_clang_x64_dbg': 'win_clang_debug_bot', | 532 'win_clang_x64_dbg': 'win_clang_debug_bot', |
505 }, | 533 }, |
506 'tryserver.v8': { | 534 'tryserver.v8': { |
507 'v8_linux_chromium_gn_rel': 'gn_release_trybot', | 535 'v8_linux_chromium_gn_rel': 'gn_release_trybot', |
508 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', | 536 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot', |
509 }, | 537 }, |
510 }, | 538 }, |
511 } | 539 } |
OLD | NEW |