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