Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: webrtc/build/mb_config.pyl

Issue 2585743002: Move tools/mb -> tools-webrtc/mb (Closed)
Patch Set: Fixed presubmits and tests Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/build/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 #
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
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
8
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
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.
13
14 {
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,
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
19 # page on the buildbots, *not* alphabetically.
20 'masters': {
21 'client.webrtc': {
22 # iOS
23 'iOS32 Debug': 'ios_debug_static_bot_arm_device',
24 'iOS32 Release': 'ios_release_bot_arm_device',
25 'iOS64 Debug': 'ios_debug_static_bot_arm64_device',
26 'iOS64 Release': 'ios_release_bot_arm64_device',
27 'iOS32 Simulator Debug': 'ios_debug_static_bot_x86',
28 'iOS64 Simulator Debug': 'ios_debug_static_bot_x64',
29
30 # Mac
31 'Mac64 Debug': 'debug_bot_x64',
32 'Mac64 Release': 'release_bot_x64',
33 'Mac Asan': 'mac_asan_clang_release_bot_x64',
34 'Mac64 Release [large tests]': 'release_bot_x64',
35
36 # Linux
37 'Linux32 Debug': 'debug_bot_x86',
38 'Linux32 Release': 'release_bot_x86',
39 'Linux32 ARM': 'release_bot_arm',
40 'Linux64 Debug': 'debug_bot_x64',
41 'Linux64 Release': 'release_bot_x64',
42 'Linux Asan': 'asan_lsan_clang_release_bot_x64',
43 'Linux Memcheck': 'memcheck_release_bot_x64',
44 'Linux MSan': 'msan_clang_release_bot_x64',
45 'Linux Tsan v2': 'tsan_clang_release_bot_x64',
46 'Linux UBSan': 'ubsan_clang_release_bot_x64',
47 'Linux UBSan vptr': 'ubsan_vptr_clang_release_bot_x64',
48 'Linux64 Release [large tests]': 'release_bot_x64',
49
50 # Android
51 'Android32 (M Nexus5X)': 'android_release_bot_arm',
52 'Android32 (M Nexus5X)(dbg)': 'android_debug_static_bot_arm',
53 'Android64 (M Nexus5X)': 'android_release_bot_arm64',
54 'Android64 (M Nexus5X)(dbg)': 'android_debug_static_bot_arm64',
55 'Android32 Builder x86': 'android_release_bot_x86',
56 'Android32 Builder x86 (dbg)': 'android_debug_static_bot_x86',
57 'Android64 Builder x64 (dbg)': 'android_debug_static_bot_x64',
58 'Android32 Builder MIPS (dbg)': 'android_clang_debug_static_bot_mipsel',
59 'Android32 Clang (dbg)': 'android_clang_debug_bot_arm',
60
61 # Windows
62 'Win32 Debug': 'debug_bot_x86',
63 'Win32 Release': 'release_bot_x86',
64 'Win64 Debug': 'debug_bot_x64',
65 'Win64 Release': 'release_bot_x64',
66 'Win32 Debug (Clang)': 'win_clang_debug_bot_x86',
67 'Win32 Release (Clang)': 'win_clang_release_bot_x86',
68 'Win64 Debug (Clang)': 'win_clang_debug_bot_x64',
69 'Win64 Release (Clang)': 'win_clang_release_bot_x64',
70 'Win SyzyASan': 'win_syzyasan_release_bot_x86',
71 'Win32 Release [large tests]': 'release_bot_x86',
72 },
73 'client.webrtc.perf': {
74 # Android
75 'Android32 Builder': 'perf_android_release_bot_arm',
76 'Android64 Builder': 'perf_android_release_bot_arm64',
77 'Android32 Tests (L Nexus5)': 'none',
78 'Android32 Tests (L Nexus7.2)': 'none',
79 'Android64 Tests (L Nexus9)': 'none',
80 'Linux Trusty': 'perf_release_bot_x64',
81 'Mac 10.11': 'perf_release_bot_x64',
82 'Win7': 'perf_release_bot_x86',
83 },
84 'client.webrtc.fyi': {
85 # Mac
86 'Mac (swarming)': 'release_bot_x64',
87
88 # Linux
89 'Linux64 GCC': 'gcc_release_bot_x64',
90 'Linux (swarming)': 'release_bot_x64',
91
92 # Android
93 'Android (swarming)': 'android_release_bot_arm',
94 'Android32 ASan (L Nexus6)': 'android_asan_shared_release_bot_arm',
95 'Android32 Builder': 'android_release_bot_arm',
96 'Android32 Tests (J Nexus4)': 'none',
97 'Android32 Tests (K Nexus5)': 'none',
98 'Android32 Tests (L Nexus6)': 'none',
99 # Windows
100 'Win (swarming)': 'release_bot_x86',
101 'Win32 SyzyASan (swarming)': 'win_syzyasan_release_bot_x86',
102 'Win64 Debug (Win8)': 'debug_bot_x64',
103 'Win64 Debug (Win10)': 'debug_bot_x64',
104 },
105 'tryserver.webrtc': {
106 # iOS
107 'ios_dbg': 'ios_debug_static_bot_arm_device',
108 'ios_rel': 'ios_release_bot_arm_device',
109 'ios_arm64_dbg': 'ios_debug_static_bot_arm64_device',
110 'ios_arm64_rel': 'ios_release_bot_arm64_device',
111 'ios32_sim_dbg': 'ios_debug_static_bot_x86',
112 'ios64_sim_dbg': 'ios_debug_static_bot_x64',
113
114 # Mac
115 'mac_compile_dbg': 'debug_bot_x64',
116 'mac_compile_rel': 'release_bot_x64',
117 'mac_dbg': 'debug_bot_x64',
118 'mac_rel': 'release_bot_x64',
119 'mac_asan': 'mac_asan_clang_release_bot_x64',
120 'mac_baremetal': 'release_bot_x64',
121
122 # Linux
123 'linux_compile_dbg': 'debug_bot_x64',
124 'linux_compile_rel': 'release_bot_x64',
125 'linux_dbg': 'debug_bot_x64',
126 'linux_rel': 'release_bot_x64',
127 'linux32_dbg': 'debug_bot_x86',
128 'linux32_rel': 'release_bot_x86',
129 'linux_arm': 'release_bot_arm',
130 'linux_asan': 'asan_lsan_clang_release_bot_x64',
131 'linux_memcheck': 'release_bot_x64',
132 'linux_msan': 'msan_clang_release_bot_x64',
133 'linux_tsan2': 'tsan_clang_release_bot_x64',
134 'linux_ubsan': 'ubsan_clang_release_bot_x64',
135 'linux_ubsan_vptr': 'ubsan_vptr_clang_release_bot_x64',
136 'linux_baremetal': 'release_bot_x64',
137
138 # Android
139 'android_compile_dbg': 'android_debug_static_bot_arm',
140 'android_compile_rel': 'android_release_bot_arm',
141 'android_compile_arm64_dbg': 'android_debug_static_bot_arm64',
142 'android_compile_arm64_rel': 'android_release_bot_arm64',
143 'android_compile_x86_dbg': 'android_debug_static_bot_x86',
144 'android_compile_x86_rel': 'android_release_bot_x86',
145 'android_compile_x64_dbg': 'android_debug_static_bot_x64',
146 'android_compile_mips_dbg': 'android_clang_debug_static_bot_mipsel',
147 'android_dbg': 'android_debug_static_bot_arm',
148 'android_rel': 'android_release_bot_arm',
149 'android_clang_dbg': 'android_clang_debug_bot_arm',
150 'android_arm64_rel': 'android_release_bot_arm64',
151 'android_n6': 'android_debug_static_bot_arm',
152
153 # Windows
154 'win_compile_dbg': 'debug_bot_x86',
155 'win_compile_rel': 'release_bot_x86',
156 'win_compile_x64_dbg': 'debug_bot_x64',
157 'win_compile_x64_rel': 'release_bot_x64',
158 'win_dbg': 'debug_bot_x86',
159 'win_rel': 'release_bot_x86',
160 'win_x64_dbg': 'debug_bot_x64',
161 'win_x64_rel': 'release_bot_x64',
162 'win_clang_dbg': 'win_clang_debug_bot_x86',
163 'win_clang_rel': 'win_clang_release_bot_x86',
164 'win_x64_clang_dbg': 'win_clang_debug_bot_x64',
165 'win_x64_clang_rel': 'win_clang_release_bot_x64',
166 'win_asan': 'win_syzyasan_release_bot_x86',
167 'win_baremetal': 'release_bot_x86',
168 'win_x64_win8': 'debug_bot_x64',
169 'win_x64_win10': 'debug_bot_x64',
170 }
171 },
172
173 # This is the list of configs that you can pass to mb; each config
174 # represents a particular combination of gn args that we must support.
175 # A given config *may* be platform-specific but is not necessarily so (i.e.,
176 # we might have mac, win, and linux bots all using the 'release_bot' config).
177 'configs': {
178 # iOS
179 'ios_debug_static_bot_arm64_device': [
180 'ios', 'gn', 'debug_static_bot', 'arm64', 'device'
181 ],
182 'ios_release_bot_arm64_device': [
183 'ios', 'gn', 'release_bot', 'arm64', 'device'
184 ],
185 'ios_debug_static_bot_arm_device': [
186 'ios', 'gn', 'debug_static_bot', 'arm', 'device'
187 ],
188 'ios_release_bot_arm_device': [
189 'ios', 'gn', 'release_bot', 'arm', 'device'
190 ],
191 'ios_debug_static_bot_x86': [
192 'ios', 'gn', 'debug_static_bot', 'x86'
193 ],
194 'ios_debug_static_bot_x64': [
195 'ios', 'gn', 'debug_static_bot', 'x64'
196 ],
197
198 # Linux, Mac and Windows
199 'gcc_release_bot_x64': [
200 'gn', 'gcc', 'release_bot', 'x64'
201 ],
202 'release_bot_arm': [
203 'gn', 'openh264_release_bot', 'arm'
204 ],
205 'asan_lsan_clang_release_bot_x64': [
206 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
207 ],
208 'msan_clang_release_bot_x64': [
209 'gn', 'msan', 'clang', 'openh264_release_bot', 'x64'
210 ],
211 'tsan_clang_release_bot_x64': [
212 'gn', 'tsan', 'clang', 'openh264_release_bot', 'x64'
213 ],
214 'ubsan_clang_release_bot_x64': [
215 'gn', 'ubsan', 'clang', 'openh264_release_bot', 'x64'
216 ],
217 'ubsan_vptr_clang_release_bot_x64': [
218 'gn', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64'
219 ],
220 'debug_bot_x86': [
221 'gn', 'openh264_debug_bot', 'x86'
222 ],
223 'release_bot_x86': [
224 'gn', 'openh264_release_bot', 'x86'
225 ],
226 'debug_bot_x64': [
227 'gn', 'openh264_debug_bot', 'x64'
228 ],
229 'release_bot_x64': [
230 'gn', 'openh264_release_bot', 'x64'
231 ],
232 'perf_release_bot_x86': [
233 'gn', 'openh264', 'release', 'static', 'goma', 'x86'
234 ],
235 'perf_release_bot_x64': [
236 'gn', 'openh264', 'release', 'static', 'goma', 'x64'
237 ],
238 'memcheck_release_bot_x64': [
239 'memcheck', 'gn', 'openh264_release_bot', 'x64'
240 ],
241
242 # Windows
243 'win_clang_debug_bot_x86': [
244 'gn', 'clang', 'openh264_debug_bot', 'x86',
245 ],
246 'win_clang_release_bot_x86': [
247 'gn', 'clang', 'openh264_release_bot', 'x86',
248 ],
249 'win_clang_debug_bot_x64': [
250 'gn', 'clang', 'openh264_debug_bot', 'x64',
251 ],
252 'win_clang_release_bot_x64': [
253 'gn', 'clang', 'openh264_release_bot', 'x64',
254 ],
255 'win_syzyasan_release_bot_x86': [
256 'gn', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86',
257 ],
258
259 # Mac
260 'mac_asan_clang_release_bot_x64': [
261 'gn', 'asan', 'clang', 'openh264_release_bot', 'x64',
262 ],
263
264 # Android
265 'android_debug_static_bot_arm': [
266 'android', 'gn', 'debug_static_bot', 'arm'
267 ],
268 'android_release_bot_arm': [
269 'android', 'gn', 'release_bot', 'arm'
270 ],
271 'android_debug_static_bot_x86': [
272 'android', 'gn', 'debug_static_bot', 'x86'
273 ],
274 'android_release_bot_x86': [
275 'android', 'gn', 'release_bot', 'x86'
276 ],
277 'android_clang_debug_bot_arm': [
278 'android', 'gn', 'clang', 'debug_bot', 'arm'
279 ],
280 'android_clang_debug_static_bot_mipsel': [
281 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel'
282 ],
283 'android_debug_static_bot_arm64': [
284 'android', 'gn', 'debug_static_bot', 'arm64'
285 ],
286 'android_release_bot_arm64': [
287 'android', 'gn', 'release_bot', 'arm64'
288 ],
289 'android_debug_static_bot_x64': [
290 'android', 'gn', 'debug_static_bot', 'x64'
291 ],
292 'android_asan_shared_release_bot_arm': [
293 'android', 'gn', 'asan', 'clang', 'shared', 'release_bot', 'arm'
294 ],
295 'perf_android_release_bot_arm': [
296 'android', 'gn', 'release', 'static', 'goma', 'arm'
297 ],
298 'perf_android_release_bot_arm64': [
299 'android', 'gn', 'release', 'static', 'goma', 'arm64'
300 ],
301
302 # This is used for tracking purposes; any bot that uses this config
303 # should never actually run MB.
304 'none': [
305 'error',
306 ],
307 },
308
309 # This is a dict mapping a given 'mixin' name to a dict of settings that
310 # mb should use. See //tools/mb/docs/user_guide.md for more information.
311 'mixins': {
312 'android': {
313 'gn_args': 'target_os="android"',
314 },
315
316 'arm': {
317 'gn_args': 'target_cpu="arm"',
318 },
319
320 'arm64': {
321 'gn_args': 'target_cpu="arm64"',
322 },
323
324 'asan': {
325 'gn_args': 'is_asan=true',
326 },
327
328 'clang': {
329 'gn_args': 'is_clang=true',
330 },
331
332 'dcheck_always_on': {
333 'gn_args': 'dcheck_always_on=true',
334 },
335
336 'debug': {
337 'gn_args': 'is_debug=true',
338 },
339
340 'debug_bot': {
341 'mixins': ['debug', 'shared', 'goma'],
342 },
343
344 'debug_static_bot': {
345 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
346 },
347
348 'device': {
349 'gn_args': 'ios_enable_code_signing=false',
350 },
351
352 # This mixin is used to force configs that use it to fail. It
353 # is used in two cases: when we have bots that we haven't looked
354 # at yet and don't know whether they need MB or not, and for bots
355 # that are test-only and should never run MB.
356 'error': {
357 'gn_args': 'error',
358 },
359
360 'gcc': {
361 'gn_args': 'is_clang=false use_sysroot=false',
362 },
363
364 'gn': {'type': 'gn'},
365
366 'goma': {
367 'gn_args': 'use_goma=true',
368 },
369
370 'ios': {
371 'gn_args': 'target_os="ios"',
372 },
373
374 'lsan': {
375 'gn_args': 'is_lsan=true',
376 },
377
378 'memcheck': {
379 'gn_args': 'rtc_use_memcheck=true',
380 },
381
382 'minimal_symbols': {
383 'gn_args': 'symbol_level=1',
384 },
385
386 'mipsel': {
387 'gn_args': 'target_cpu="mipsel"',
388 },
389
390 'minimal_symbols': {
391 'gn_args': 'symbol_level=1',
392 },
393
394 'msan': {
395 'gn_args': ('is_msan=true msan_track_origins=2 '
396 'use_prebuilt_instrumented_libraries=true'),
397 },
398
399 'openh264': {
400 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true',
401 },
402
403 'openh264_debug_bot': {
404 'mixins': ['openh264', 'debug_bot'],
405 },
406
407 'openh264_release_bot': {
408 'mixins': ['openh264', 'release_bot'],
409 },
410
411 'release': {
412 'gn_args': 'is_debug=false',
413 },
414
415 'release_bot': {
416 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'],
417 },
418
419 'shared': {
420 'gn_args': 'is_component_build=true',
421 },
422
423 'static': {
424 'gn_args': 'is_component_build=false',
425 },
426
427 'syzyasan': {
428 'gn_args': 'is_syzyasan=true',
429 },
430
431 'tsan': {
432 'gn_args': 'is_tsan=true',
433 },
434
435 'ubsan': {
436 'gn_args': 'is_ubsan=true',
437 },
438
439 'ubsan_vptr': {
440 'gn_args': 'is_ubsan_vptr=true',
441 },
442
443 'x64': {
444 'gn_args': 'target_cpu="x64"',
445 },
446
447 'x86': {
448 'gn_args': 'target_cpu="x86"',
449 },
450 },
451 }
OLDNEW
« no previous file with comments | « webrtc/build/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698