OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 # FOR DETAILS ON THIS FILE SEE THE MAIN COPY IN //tools/mb/mb_config.pyl. | 9 # FOR DETAILS ON THIS FILE SEE THE MAIN COPY IN //tools/mb/mb_config.pyl. |
10 # This is configuration for standalone WebRTC bots. It is used to keep the bot | 10 # This is configuration for standalone WebRTC bots. It is used to keep the bot |
11 # configurations source-side instead of in the buildbot scripts. That makes it | 11 # configurations source-side instead of in the buildbot scripts. That makes it |
12 # easy to try different configurations of GN args in tryjob patches. | 12 # easy to try different configurations of GN args in tryjob patches. |
13 | 13 |
14 { | 14 { |
15 # This is a map of buildbot master names -> buildbot builder names -> | 15 # This is a map of buildbot master names -> buildbot builder names -> |
16 # config names (where each config name is a key in the 'configs' dict, | 16 # config names (where each config name is a key in the 'configs' dict, |
17 # above). mb uses this dict to look up which config to use for a given bot. | 17 # above). mb uses this dict to look up which config to use for a given bot. |
18 # The builders should be sorted by the order they appear in the /builders | 18 # The builders should be sorted by the order they appear in the /builders |
19 # page on the buildbots, *not* alphabetically. | 19 # page on the buildbots, *not* alphabetically. |
20 'masters': { | 20 'masters': { |
21 'client.webrtc': { | 21 'client.webrtc': { |
22 # iOS | 22 # iOS |
23 'iOS32 Debug': 'ios', | 23 'iOS32 Debug': 'ios_debug_static_bot_arm_device', |
24 'iOS32 Release': 'ios', | 24 'iOS32 Release': 'ios_release_bot_arm_device', |
25 'iOS64 Debug': 'ios', | 25 'iOS64 Debug': 'ios_debug_static_bot_arm64_device', |
26 'iOS64 Release': 'ios', | 26 'iOS64 Release': 'ios_release_bot_arm64_device', |
27 'iOS32 Sim Debug (iOS 9.0)': 'ios', | 27 'iOS32 Sim Debug (iOS 9.0)': 'ios_debug_static_bot_x86', |
28 'iOS64 Sim Debug (iOS 9.0)': 'ios', | 28 'iOS64 Sim Debug (iOS 9.0)': 'ios_debug_static_bot_x64', |
29 'iOS64 Sim Debug (iOS 10.0)': 'ios', | 29 'iOS64 Sim Debug (iOS 10.0)': 'ios_debug_static_bot_x64', |
30 | 30 |
31 # Mac | 31 # Mac |
32 'Mac64 Debug': 'debug_bot_x64', | 32 'Mac64 Debug': 'debug_bot_x64', |
33 'Mac64 Release': 'release_bot_x64', | 33 'Mac64 Release': 'release_bot_x64', |
34 'Mac Asan': 'mac_asan_clang_release_bot_x64', | 34 'Mac Asan': 'mac_asan_clang_release_bot_x64', |
35 'Mac64 Release [large tests]': 'release_bot_x64', | 35 'Mac64 Release [large tests]': 'release_bot_x64', |
36 | 36 |
37 # Linux | 37 # Linux |
38 'Linux32 Debug': 'debug_bot_x86', | 38 'Linux32 Debug': 'debug_bot_x86', |
39 'Linux32 Release': 'release_bot_x86', | 39 'Linux32 Release': 'release_bot_x86', |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 'Android (swarming)': 'android_release_bot_arm', | 98 'Android (swarming)': 'android_release_bot_arm', |
99 'Android ASan (swarming)': 'android_asan_shared_release_bot_arm', | 99 'Android ASan (swarming)': 'android_asan_shared_release_bot_arm', |
100 # Windows | 100 # Windows |
101 'Win (swarming)': 'release_bot_x86', | 101 'Win (swarming)': 'release_bot_x86', |
102 'Win32 ASan (swarming)': 'win_asan_clang_release_bot_x86', | 102 'Win32 ASan (swarming)': 'win_asan_clang_release_bot_x86', |
103 'Win64 Debug (Win8)': 'debug_bot_x64', | 103 'Win64 Debug (Win8)': 'debug_bot_x64', |
104 'Win64 Debug (Win10)': 'debug_bot_x64', | 104 'Win64 Debug (Win10)': 'debug_bot_x64', |
105 }, | 105 }, |
106 'tryserver.webrtc': { | 106 'tryserver.webrtc': { |
107 # iOS | 107 # iOS |
108 'ios_dbg': 'ios', | 108 'ios_dbg': 'ios_debug_static_bot_arm_device', |
109 'ios_rel': 'ios', | 109 'ios_rel': 'ios_release_bot_arm_device', |
110 'ios_arm64_dbg': 'ios', | 110 'ios_arm64_dbg': 'ios_debug_static_bot_arm64_device', |
111 'ios_arm64_rel': 'ios', | 111 'ios_arm64_rel': 'ios_release_bot_arm64_device', |
112 'ios32_sim_ios9_dbg': 'ios', | 112 'ios32_sim_ios9_dbg': 'ios_debug_static_bot_x86', |
113 'ios64_sim_ios9_dbg': 'ios', | 113 'ios64_sim_ios9_dbg': 'ios_debug_static_bot_x64', |
114 'ios64_sim_ios10_dbg': 'ios', | 114 'ios64_sim_ios10_dbg': 'ios_debug_static_bot_x64', |
115 | 115 |
116 # Mac | 116 # Mac |
117 'mac_compile_dbg': 'debug_bot_x64', | 117 'mac_compile_dbg': 'debug_bot_x64', |
118 'mac_compile_rel': 'release_bot_x64', | 118 'mac_compile_rel': 'release_bot_x64', |
119 'mac_dbg': 'debug_bot_x64', | 119 'mac_dbg': 'debug_bot_x64', |
120 'mac_rel': 'release_bot_x64', | 120 'mac_rel': 'release_bot_x64', |
121 'mac_asan': 'mac_asan_clang_release_bot_x64', | 121 'mac_asan': 'mac_asan_clang_release_bot_x64', |
122 'mac_baremetal': 'release_bot_x64', | 122 'mac_baremetal': 'release_bot_x64', |
123 | 123 |
124 # Linux | 124 # Linux |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 'win_x64_win8': 'debug_bot_x64', | 171 'win_x64_win8': 'debug_bot_x64', |
172 'win_x64_win10': 'debug_bot_x64', | 172 'win_x64_win10': 'debug_bot_x64', |
173 } | 173 } |
174 }, | 174 }, |
175 | 175 |
176 # This is the list of configs that you can pass to mb; each config | 176 # This is the list of configs that you can pass to mb; each config |
177 # represents a particular combination of gn args that we must support. | 177 # represents a particular combination of gn args that we must support. |
178 # A given config *may* be platform-specific but is not necessarily so (i.e., | 178 # A given config *may* be platform-specific but is not necessarily so (i.e., |
179 # we might have mac, win, and linux bots all using the 'release_bot' config). | 179 # we might have mac, win, and linux bots all using the 'release_bot' config). |
180 'configs': { | 180 'configs': { |
| 181 # iOS |
| 182 'ios_debug_static_bot_arm64_device': [ |
| 183 'ios', 'gn', 'debug_static_bot', 'arm64', 'device' |
| 184 ], |
| 185 'ios_release_bot_arm64_device': [ |
| 186 'ios', 'gn', 'release_bot', 'arm64', 'device' |
| 187 ], |
| 188 'ios_debug_static_bot_arm_device': [ |
| 189 'ios', 'gn', 'debug_static_bot', 'arm', 'device' |
| 190 ], |
| 191 'ios_release_bot_arm_device': [ |
| 192 'ios', 'gn', 'release_bot', 'arm', 'device' |
| 193 ], |
| 194 'ios_debug_static_bot_x86': [ |
| 195 'ios', 'gn', 'debug_static_bot', 'x86' |
| 196 ], |
| 197 'ios_debug_static_bot_x64': [ |
| 198 'ios', 'gn', 'debug_static_bot', 'x64' |
| 199 ], |
| 200 |
181 # Linux, Mac and Windows | 201 # Linux, Mac and Windows |
182 'gcc_release_bot_x64': [ | 202 'gcc_release_bot_x64': [ |
183 'gn', 'gcc', 'release_bot', 'x64' | 203 'gn', 'gcc', 'release_bot', 'x64' |
184 ], | 204 ], |
185 'release_bot_arm': [ | 205 'release_bot_arm': [ |
186 'gn', 'openh264_release_bot', 'arm' | 206 'gn', 'openh264_release_bot', 'arm' |
187 ], | 207 ], |
188 'asan_lsan_clang_release_bot_x64': [ | 208 'asan_lsan_clang_release_bot_x64': [ |
189 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64' | 209 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64' |
190 ], | 210 ], |
(...skipping 27 matching lines...) Expand all Loading... |
218 'perf_release_bot_x64': [ | 238 'perf_release_bot_x64': [ |
219 'gn', 'openh264', 'release', 'static', 'goma', 'x64' | 239 'gn', 'openh264', 'release', 'static', 'goma', 'x64' |
220 ], | 240 ], |
221 'libfuzzer_asan_release_bot_x64': [ | 241 'libfuzzer_asan_release_bot_x64': [ |
222 'libfuzzer', 'asan', 'optimize_for_fuzzing', 'openh264_release_bot', 'x64' | 242 'libfuzzer', 'asan', 'optimize_for_fuzzing', 'openh264_release_bot', 'x64' |
223 ], | 243 ], |
224 'memcheck_release_bot_x64': [ | 244 'memcheck_release_bot_x64': [ |
225 'memcheck', 'gn', 'openh264_release_bot', 'x64' | 245 'memcheck', 'gn', 'openh264_release_bot', 'x64' |
226 ], | 246 ], |
227 | 247 |
228 # iOS | |
229 # The 'ios' config is just used for auditing. iOS bots | |
230 # use the ios recipes and look up their GN arguments via files checked in | |
231 # under //tools-webrtc/ios/bots. It is an error to actually use one of these | |
232 # configs to generate the build files. | |
233 'ios': [ 'error'], | |
234 | |
235 # Windows | 248 # Windows |
236 'win_clang_debug_bot_x86': [ | 249 'win_clang_debug_bot_x86': [ |
237 'gn', 'clang', 'openh264_debug_bot', 'x86', | 250 'gn', 'clang', 'openh264_debug_bot', 'x86', |
238 ], | 251 ], |
239 'win_clang_release_bot_x86': [ | 252 'win_clang_release_bot_x86': [ |
240 'gn', 'clang', 'openh264_release_bot', 'x86', | 253 'gn', 'clang', 'openh264_release_bot', 'x86', |
241 ], | 254 ], |
242 'win_clang_debug_bot_x64': [ | 255 'win_clang_debug_bot_x64': [ |
243 'gn', 'clang', 'openh264_debug_bot', 'x64', | 256 'gn', 'clang', 'openh264_debug_bot', 'x64', |
244 ], | 257 ], |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 }, | 347 }, |
335 | 348 |
336 'debug_bot': { | 349 'debug_bot': { |
337 'mixins': ['debug', 'shared', 'goma'], | 350 'mixins': ['debug', 'shared', 'goma'], |
338 }, | 351 }, |
339 | 352 |
340 'debug_static_bot': { | 353 'debug_static_bot': { |
341 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'], | 354 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'], |
342 }, | 355 }, |
343 | 356 |
| 357 'device': { |
| 358 'gn_args': 'ios_enable_code_signing=false', |
| 359 }, |
| 360 |
344 # This mixin is used to force configs that use it to fail. It | 361 # This mixin is used to force configs that use it to fail. It |
345 # is used in two cases: when we have bots that we haven't looked | 362 # is used in two cases: when we have bots that we haven't looked |
346 # at yet and don't know whether they need MB or not, and for bots | 363 # at yet and don't know whether they need MB or not, and for bots |
347 # that are test-only and should never run MB. | 364 # that are test-only and should never run MB. |
348 'error': { | 365 'error': { |
349 'gn_args': 'error', | 366 'gn_args': 'error', |
350 }, | 367 }, |
351 | 368 |
352 'full_symbols': { | 369 'full_symbols': { |
353 'gn_args': 'symbol_level=2', | 370 'gn_args': 'symbol_level=2', |
354 }, | 371 }, |
355 | 372 |
356 'gcc': { | 373 'gcc': { |
357 'gn_args': 'is_clang=false use_sysroot=false', | 374 'gn_args': 'is_clang=false use_sysroot=false', |
358 }, | 375 }, |
359 | 376 |
360 'gn': {'type': 'gn'}, | 377 'gn': {'type': 'gn'}, |
361 | 378 |
362 'goma': { | 379 'goma': { |
363 'gn_args': 'use_goma=true', | 380 'gn_args': 'use_goma=true', |
364 }, | 381 }, |
365 | 382 |
| 383 'ios': { |
| 384 'gn_args': 'target_os="ios"', |
| 385 }, |
| 386 |
366 'libfuzzer': { | 387 'libfuzzer': { |
367 'gn_args': 'use_libfuzzer=true', | 388 'gn_args': 'use_libfuzzer=true', |
368 }, | 389 }, |
369 | 390 |
370 'lsan': { | 391 'lsan': { |
371 'gn_args': 'is_lsan=true', | 392 'gn_args': 'is_lsan=true', |
372 }, | 393 }, |
373 | 394 |
374 'memcheck': { | 395 'memcheck': { |
375 'gn_args': 'rtc_use_memcheck=true', | 396 'gn_args': 'rtc_use_memcheck=true', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 | 463 |
443 'x64': { | 464 'x64': { |
444 'gn_args': 'target_cpu="x64"', | 465 'gn_args': 'target_cpu="x64"', |
445 }, | 466 }, |
446 | 467 |
447 'x86': { | 468 'x86': { |
448 'gn_args': 'target_cpu="x86"', | 469 'gn_args': 'target_cpu="x86"', |
449 }, | 470 }, |
450 }, | 471 }, |
451 } | 472 } |
OLD | NEW |