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 |
(...skipping 26 matching lines...) Expand all Loading... |
37 'Linux64 Release': 'gyp_release_bot_x64', | 37 'Linux64 Release': 'gyp_release_bot_x64', |
38 'Linux Asan': 'gyp_asan_lsan_clang_release_bot_x64', | 38 'Linux Asan': 'gyp_asan_lsan_clang_release_bot_x64', |
39 'Linux Memcheck': 'gyp_memcheck_release_bot_x64', | 39 'Linux Memcheck': 'gyp_memcheck_release_bot_x64', |
40 'Linux MSan': 'gyp_msan_clang_release_bot_x64', | 40 'Linux MSan': 'gyp_msan_clang_release_bot_x64', |
41 'Linux Tsan v2': 'gyp_tsan_clang_release_bot_x64', | 41 'Linux Tsan v2': 'gyp_tsan_clang_release_bot_x64', |
42 'Linux UBSan': 'gyp_ubsan_clang_release_bot_x64', | 42 'Linux UBSan': 'gyp_ubsan_clang_release_bot_x64', |
43 'Linux UBSan vptr': 'gyp_ubsan_vptr_clang_release_bot_x64', | 43 'Linux UBSan vptr': 'gyp_ubsan_vptr_clang_release_bot_x64', |
44 'Linux64 Release [large tests]': 'gyp_release_bot_x64', | 44 'Linux64 Release [large tests]': 'gyp_release_bot_x64', |
45 'Linux64 Debug (GN)': 'gn_openh264_debug_bot_x64', | 45 'Linux64 Debug (GN)': 'gn_openh264_debug_bot_x64', |
46 'Linux64 Release (GN)': 'gn_openh264_release_bot_x64', | 46 'Linux64 Release (GN)': 'gn_openh264_release_bot_x64', |
| 47 |
| 48 # Android |
| 49 'Android32 Builder': 'android_gyp_release_bot_arm', |
| 50 'Android32 Builder (dbg)': 'android_gyp_debug_bot_arm', |
| 51 'Android32 Builder x86': 'android_gyp_release_bot_x86', |
| 52 'Android32 Builder x86 (dbg)': 'android_gyp_debug_bot_x86', |
| 53 'Android32 Builder MIPS (dbg)': 'android_gyp_clang_debug_bot_mipsel', |
| 54 'Android32 Clang (dbg)': 'android_gyp_clang_debug_bot_arm', |
| 55 'Android64 Builder': 'android_gyp_release_bot_arm64', |
| 56 'Android64 Builder (dbg)': 'android_gyp_debug_bot_arm64', |
| 57 'Android64 Builder x64 (dbg)': 'android_gyp_debug_bot_x64', |
| 58 'Android32 GN': 'android_gn_release_bot_arm', |
| 59 'Android32 GN (dbg)': 'android_gn_debug_bot_arm', |
| 60 'Android32 Tests (L Nexus5)(dbg)': 'none', |
| 61 'Android32 Tests (L Nexus5)': 'none', |
| 62 'Android32 Tests (L Nexus7.2)(dbg)': 'none', |
| 63 'Android32 Tests (L Nexus7.2)': 'none', |
| 64 'Android64 Tests (L Nexus9)': 'none', |
47 }, | 65 }, |
48 'tryserver.webrtc': { | 66 'tryserver.webrtc': { |
49 # iOS | 67 # iOS |
50 'ios_dbg': 'ios_gyp_debug_trybot_arm_device', | 68 'ios_dbg': 'ios_gyp_debug_trybot_arm_device', |
51 'ios_rel': 'ios_gyp_release_trybot_arm_device', | 69 'ios_rel': 'ios_gyp_release_trybot_arm_device', |
52 'ios_arm64_dbg': 'ios_gyp_debug_trybot_arm64_device', | 70 'ios_arm64_dbg': 'ios_gyp_debug_trybot_arm64_device', |
53 'ios_arm64_rel': 'ios_gyp_release_trybot_arm64_device', | 71 'ios_arm64_rel': 'ios_gyp_release_trybot_arm64_device', |
54 'ios32_sim_dbg': 'ios_gyp_debug_trybot_x86', | 72 'ios32_sim_dbg': 'ios_gyp_debug_trybot_x86', |
55 'ios64_sim_dbg': 'ios_gyp_debug_trybot_x64', | 73 'ios64_sim_dbg': 'ios_gyp_debug_trybot_x64', |
56 'ios64_gn_dbg': 'ios_gn_debug_trybot_arm64_device', | 74 'ios64_gn_dbg': 'ios_gn_debug_trybot_arm64_device', |
57 'ios64_gn_rel': 'ios_gn_release_trybot_arm64_device', | 75 'ios64_gn_rel': 'ios_gn_release_trybot_arm64_device', |
58 | 76 |
59 # Linux | 77 # Linux |
60 'linux_compile_dbg': 'gyp_debug_trybot_x64', | 78 'linux_compile_dbg': 'gyp_debug_trybot_x64', |
61 'linux_compile_rel': 'gyp_release_trybot_x64', | 79 'linux_compile_rel': 'gyp_release_trybot_x64', |
62 'linux_dbg': 'gyp_debug_trybot_x64', | 80 'linux_dbg': 'gyp_debug_trybot_x64', |
63 'linux_rel': 'gyp_release_trybot_x64', | 81 'linux_rel': 'gyp_release_trybot_x64', |
64 'linux_gn_dbg': 'gn_openh264_debug_trybot_x64', | 82 'linux_gn_dbg': 'gn_openh264_debug_trybot_x64', |
65 'linux_gn_rel': 'gn_openh264_release_trybot_x64', | 83 'linux_gn_rel': 'gn_openh264_release_trybot_x64', |
66 'linux_arm': 'gyp_release_trybot_arm', | 84 'linux_arm': 'gyp_release_trybot_arm', |
67 'linux_asan': 'gyp_asan_lsan_clang_release_trybot_x64', | 85 'linux_asan': 'gyp_asan_lsan_clang_release_trybot_x64', |
68 'linux_memcheck': 'gyp_memcheck_release_trybot_x64', | 86 'linux_memcheck': 'gyp_memcheck_release_trybot_x64', |
69 'linux_msan': 'gyp_msan_clang_release_trybot_x64', | 87 'linux_msan': 'gyp_msan_clang_release_trybot_x64', |
70 'linux_tsan2': 'gyp_tsan_clang_release_trybot_x64', | 88 'linux_tsan2': 'gyp_tsan_clang_release_trybot_x64', |
71 'linux_ubsan': 'gyp_ubsan_clang_release_trybot_x64', | 89 'linux_ubsan': 'gyp_ubsan_clang_release_trybot_x64', |
72 'linux_ubsan_vptr': 'gyp_ubsan_vptr_clang_release_trybot_x64', | 90 'linux_ubsan_vptr': 'gyp_ubsan_vptr_clang_release_trybot_x64', |
73 'linux_baremetal': 'gyp_release_trybot_x64', | 91 'linux_baremetal': 'gyp_release_trybot_x64', |
74 'linux_swarming': 'swarming_gyp_debug_trybot_x64', | 92 'linux_swarming': 'swarming_gyp_debug_trybot_x64', |
| 93 |
| 94 # Android |
| 95 'android_compile_dbg': 'android_gyp_debug_trybot_arm', |
| 96 'android_compile_rel': 'android_gyp_release_trybot_arm', |
| 97 'android_compile_arm64_dbg': 'android_gyp_debug_trybot_arm64', |
| 98 'android_compile_arm64_rel': 'android_gyp_release_trybot_arm64', |
| 99 'android_compile_x86_dbg': 'android_gyp_debug_trybot_x86', |
| 100 'android_compile_x86_rel': 'android_gyp_release_trybot_x86', |
| 101 'android_compile_x64_dbg': 'android_gyp_debug_trybot_x64', |
| 102 'android_compile_mips_dbg': 'android_gyp_clang_debug_trybot_mipsel', |
| 103 'android_dbg': 'android_gyp_debug_trybot_arm', |
| 104 'android_rel': 'android_gyp_release_trybot_arm', |
| 105 'android_clang_dbg': 'android_gyp_clang_debug_trybot_arm', |
| 106 'android_amd64_rel': 'android_gyp_release_trybot_arm64', |
| 107 'android_n6': 'android_gyp_debug_trybot_arm', |
| 108 'android_gn_dbg': 'android_gn_debug_trybot_arm', |
| 109 'android_gn_rel': 'android_gn_release_trybot_arm', |
75 }, | 110 }, |
76 }, | 111 }, |
77 | 112 |
78 # This is the list of configs that you can pass to mb; each config | 113 # This is the list of configs that you can pass to mb; each config |
79 # represents a particular combination of GYP_DEFINES/gn args that | 114 # represents a particular combination of GYP_DEFINES/gn args that |
80 # we must support. A given config *may* be platform-specific but | 115 # we must support. A given config *may* be platform-specific but |
81 # is not necessarily so (i.e., we might have mac, win, and linux | 116 # is not necessarily so (i.e., we might have mac, win, and linux |
82 # bots all using the 'gn_release_bot' config). | 117 # bots all using the 'gn_release_bot' config). |
83 'configs': { | 118 'configs': { |
84 # iOS | 119 # iOS |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 'gyp', 'ubsan_vptr', 'clang', 'release_trybot', 'x64' | 236 'gyp', 'ubsan_vptr', 'clang', 'release_trybot', 'x64' |
202 ], | 237 ], |
203 'gn_openh264_debug_trybot_x64': [ | 238 'gn_openh264_debug_trybot_x64': [ |
204 'gn', 'openh264', 'debug_trybot', 'x64' | 239 'gn', 'openh264', 'debug_trybot', 'x64' |
205 ], | 240 ], |
206 'gn_openh264_release_trybot_x64': [ | 241 'gn_openh264_release_trybot_x64': [ |
207 'gn', 'openh264', 'release_trybot', 'x64' | 242 'gn', 'openh264', 'release_trybot', 'x64' |
208 ], | 243 ], |
209 'swarming_gyp_debug_trybot_x64': [ | 244 'swarming_gyp_debug_trybot_x64': [ |
210 'swarming', 'gyp', 'debug', 'debug_trybot', 'x64' | 245 'swarming', 'gyp', 'debug', 'debug_trybot', 'x64' |
211 ] | 246 ], |
| 247 |
| 248 # Android |
| 249 'android_gyp_release_bot_arm': [ |
| 250 'android', 'gyp', 'release_bot', 'arm' |
| 251 ], |
| 252 'android_gyp_debug_bot_arm': [ |
| 253 'android', 'gyp', 'debug_bot', 'arm' |
| 254 ], |
| 255 'android_gyp_release_bot_x86': [ |
| 256 'android', 'gyp', 'release_bot', 'x86' |
| 257 ], |
| 258 'android_gyp_debug_bot_x86': [ |
| 259 'android', 'gyp', 'debug_bot', 'x86' |
| 260 ], |
| 261 'android_gyp_clang_debug_bot_mipsel': [ |
| 262 'android', 'gyp', 'clang', 'debug_bot', 'mipsel' |
| 263 ], |
| 264 'android_gyp_clang_debug_bot_arm': [ |
| 265 'android', 'gyp', 'clang', 'debug_bot', 'arm' |
| 266 ], |
| 267 'android_gyp_release_bot_arm64': [ |
| 268 'android', 'gyp', 'release_bot', 'arm64' |
| 269 ], |
| 270 'android_gyp_debug_bot_arm64': [ |
| 271 'android', 'gyp', 'debug_bot', 'arm64' |
| 272 ], |
| 273 'android_gyp_debug_bot_x64': [ |
| 274 'android', 'gyp', 'debug_bot', 'x64' |
| 275 ], |
| 276 'android_gn_release_bot_arm': [ |
| 277 'android', 'gn', 'release_bot', 'arm' |
| 278 ], |
| 279 'android_gn_debug_bot_arm': [ |
| 280 'android', 'gn', 'debug_bot', 'arm' |
| 281 ], |
| 282 # Android trybots |
| 283 'android_gyp_debug_trybot_arm': [ |
| 284 'android', 'gyp', 'debug_trybot', 'arm', |
| 285 ], |
| 286 'android_gyp_release_trybot_arm': [ |
| 287 'android', 'gyp', 'release_trybot', 'arm', |
| 288 ], |
| 289 'android_gyp_debug_trybot_arm64': [ |
| 290 'android', 'gyp', 'debug_trybot', 'arm64', |
| 291 ], |
| 292 'android_gyp_release_trybot_arm64': [ |
| 293 'android', 'gyp', 'release_trybot', 'arm64', |
| 294 ], |
| 295 'android_gyp_debug_trybot_x86': [ |
| 296 'android', 'gyp', 'debug_trybot', 'x86', |
| 297 ], |
| 298 'android_gyp_release_trybot_x86': [ |
| 299 'android', 'gyp', 'release_trybot', 'x86', |
| 300 ], |
| 301 'android_gyp_debug_trybot_x64': [ |
| 302 'android', 'gyp', 'debug_trybot', 'x64', |
| 303 ], |
| 304 'android_gyp_clang_debug_trybot_mipsel': [ |
| 305 'android', 'gyp', 'clang', 'debug_trybot', 'mipsel', |
| 306 ], |
| 307 'android_gyp_clang_debug_trybot_arm': [ |
| 308 'android', 'gyp', 'clang', 'debug_trybot', 'arm', |
| 309 ], |
| 310 'android_gn_debug_trybot_arm': [ |
| 311 'android', 'gn', 'debug_trybot', 'arm', |
| 312 ], |
| 313 'android_gn_release_trybot_arm': [ |
| 314 'android', 'gn', 'release_trybot', 'arm', |
| 315 ], |
| 316 |
| 317 # This is used for tracking purposes; any bot that uses this config |
| 318 # should never actually run MB. |
| 319 'none': [ |
| 320 'error', |
| 321 ], |
212 }, | 322 }, |
213 | 323 |
214 # This is a dict mapping a given 'mixin' name to a dict of settings that | 324 # This is a dict mapping a given 'mixin' name to a dict of settings that |
215 # mb should use. See //tools/mb/docs/user_guide.md for more information. | 325 # mb should use. See //tools/mb/docs/user_guide.md for more information. |
216 'mixins': { | 326 'mixins': { |
217 'ios': { | 327 'android': { |
218 'gn_args': 'target_os="ios"', | 328 'gn_args': 'target_os="android"', |
219 'gyp_defines': 'OS=ios', | 329 'gyp_defines': 'OS=android', |
220 }, | 330 }, |
221 | 331 |
222 'arm': { | 332 'arm': { |
223 'gn_args': 'target_cpu="arm"', | 333 'gn_args': 'target_cpu="arm"', |
224 'gyp_defines': 'target_arch=arm', | 334 'gyp_defines': 'target_arch=arm', |
225 }, | 335 }, |
226 | 336 |
227 'arm64': { | 337 'arm64': { |
228 'gn_args': 'target_cpu="arm64"', | 338 'gn_args': 'target_cpu="arm64"', |
229 'gyp_defines': 'target_arch=arm64', | 339 'gyp_defines': 'target_arch=arm64', |
(...skipping 24 matching lines...) Expand all Loading... |
254 | 364 |
255 'debug_trybot': { | 365 'debug_trybot': { |
256 'mixins': ['debug_bot', 'dcheck_always_on'], | 366 'mixins': ['debug_bot', 'dcheck_always_on'], |
257 }, | 367 }, |
258 | 368 |
259 'device': { | 369 'device': { |
260 'gn_args': 'ios_enable_code_signing=false', | 370 'gn_args': 'ios_enable_code_signing=false', |
261 'gyp_defines': 'chromium_ios_signing=0', | 371 'gyp_defines': 'chromium_ios_signing=0', |
262 }, | 372 }, |
263 | 373 |
| 374 # This mixin is used to force configs that use it to fail. It |
| 375 # is used in two cases: when we have bots that we haven't looked |
| 376 # at yet and don't know whether they need MB or not, and for bots |
| 377 # that are test-only and should never run MB. |
| 378 'error': { |
| 379 'gn_args': 'error', |
| 380 'gyp_defines': 'target_arch=unknown', |
| 381 }, |
| 382 |
264 'gn': {'type': 'gn'}, | 383 'gn': {'type': 'gn'}, |
265 | 384 |
266 'goma': { | 385 'goma': { |
267 # The MB code will properly escape goma_dir if necessary in the GYP | 386 # The MB code will properly escape goma_dir if necessary in the GYP |
268 # code path; the GN code path needs no escaping. | 387 # code path; the GN code path needs no escaping. |
269 'gn_args': 'use_goma=true', | 388 'gn_args': 'use_goma=true', |
270 'gyp_defines': 'use_goma=1', | 389 'gyp_defines': 'use_goma=1', |
271 }, | 390 }, |
272 | 391 |
273 'gyp': {'type': 'gyp'}, | 392 'gyp': {'type': 'gyp'}, |
274 | 393 |
| 394 'ios': { |
| 395 'gn_args': 'target_os="ios"', |
| 396 'gyp_defines': 'OS=ios', |
| 397 }, |
| 398 |
275 'ios_debug_bot': { | 399 'ios_debug_bot': { |
276 'mixins': ['debug', 'shared'] | 400 'mixins': ['debug', 'shared'] |
277 }, | 401 }, |
278 | 402 |
279 'ios_debug_trybot': { | 403 'ios_debug_trybot': { |
280 'mixins': ['ios_debug_bot', 'dcheck_always_on'] | 404 'mixins': ['ios_debug_bot', 'dcheck_always_on'] |
281 }, | 405 }, |
282 | 406 |
283 'ios_release_bot': { | 407 'ios_release_bot': { |
284 'mixins': ['release', 'static'] | 408 'mixins': ['release', 'static'] |
285 }, | 409 }, |
286 | 410 |
287 'ios_release_trybot': { | 411 'ios_release_trybot': { |
288 'mixins': ['ios_release_bot', 'dcheck_always_on'] | 412 'mixins': ['ios_release_bot', 'dcheck_always_on'] |
289 }, | 413 }, |
290 | 414 |
291 'lsan': { | 415 'lsan': { |
292 'gn_args': 'is_lsan=true', | 416 'gn_args': 'is_lsan=true', |
293 'gyp_defines': 'lsan=1', | 417 'gyp_defines': 'lsan=1', |
294 }, | 418 }, |
295 | 419 |
296 'memcheck': { | 420 'memcheck': { |
297 'gyp_defines': 'build_for_tool=memcheck', | 421 'gyp_defines': 'build_for_tool=memcheck', |
298 }, | 422 }, |
299 | 423 |
| 424 'mipsel': { |
| 425 'gn_args': 'target_cpu="mipsel"', |
| 426 'gyp_defines': 'target_arch=mipsel', |
| 427 }, |
| 428 |
300 'msan': { | 429 'msan': { |
301 'gn_args': ('is_msan=true msan_track_origins=2 ' | 430 'gn_args': ('is_msan=true msan_track_origins=2 ' |
302 'use_prebuilt_instrumented_libraries=true'), | 431 'use_prebuilt_instrumented_libraries=true'), |
303 'gyp_defines': ('msan=1 msan_track_origins=2 ' | 432 'gyp_defines': ('msan=1 msan_track_origins=2 ' |
304 'use_prebuilt_instrumented_libraries=1'), | 433 'use_prebuilt_instrumented_libraries=1'), |
305 }, | 434 }, |
306 | 435 |
307 'tsan': { | 436 'tsan': { |
308 'gn_args': 'is_tsan=true', | 437 'gn_args': 'is_tsan=true', |
309 'gyp_defines': 'tsan=1', | 438 'gyp_defines': 'tsan=1', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 'gn_args': 'target_cpu="x64"', | 484 'gn_args': 'target_cpu="x64"', |
356 'gyp_defines': 'target_arch=x64', | 485 'gyp_defines': 'target_arch=x64', |
357 }, | 486 }, |
358 | 487 |
359 'x86': { | 488 'x86': { |
360 'gn_args': 'target_cpu="x86"', | 489 'gn_args': 'target_cpu="x86"', |
361 'gyp_defines': 'target_arch=ia32', | 490 'gyp_defines': 'target_arch=ia32', |
362 }, | 491 }, |
363 }, | 492 }, |
364 } | 493 } |
OLD | NEW |