blob: 8cfc195e3d66660d79fd275cfc9db0f77597fdbb [file] [log] [blame]
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +01001# 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 GYP and GN in tryjob patches.
13
14{
ehmaldonadod046d982016-08-08 06:59:14 -070015 # 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': {
ehmaldonado09abaa02016-08-09 02:26:16 -070022 # iOS
kjellander1c814e72016-08-16 02:42:02 -070023 'iOS32 Debug': 'ios_gyp_debug_static_bot_arm_device',
ehmaldonadod046d982016-08-08 06:59:14 -070024 'iOS32 Release': 'ios_gyp_release_bot_arm_device',
kjellander1c814e72016-08-16 02:42:02 -070025 'iOS64 Debug': 'ios_gyp_debug_static_bot_arm64_device',
ehmaldonadod046d982016-08-08 06:59:14 -070026 'iOS64 Release': 'ios_gyp_release_bot_arm64_device',
kjellandere252d3c2016-08-16 03:46:20 -070027 'iOS32 Simulator Debug': 'ios_gyp_debug_static_bot_x86',
28 'iOS64 Simulator Debug': 'ios_gyp_debug_static_bot_x64',
kjellander1c814e72016-08-16 02:42:02 -070029 'iOS64 Debug (GN)': 'ios_gn_debug_static_bot_arm64_device',
ehmaldonadod046d982016-08-08 06:59:14 -070030 'iOS64 Release (GN)': 'ios_gn_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -070031
ehmaldonadoa3a1fde2016-08-11 01:04:35 -070032 # Mac
kjellanderf02207d2016-08-24 09:40:00 -070033 'Mac64 Debug': 'gn_debug_bot_x64',
34 'Mac64 Release': 'gn_release_bot_x64',
35 'Mac Asan': 'mac_gn_asan_clang_release_bot_x64',
36 'Mac64 Release [large tests]': 'gn_release_bot_x64',
37 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
38 # the bots to the GYP versions (duplicated now).
39 'Mac64 Debug (GN)': 'gyp_debug_bot_x64_exclude_tests',
40 'Mac64 Release (GN)': 'gyp_release_bot_x64_exclude_tests',
41 'Mac64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
42 'Mac64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -070043
ehmaldonado09abaa02016-08-09 02:26:16 -070044 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -070045 'Linux32 ARM': 'gn_crosscompile_release_bot_arm',
46 'Linux64 Debug': 'gn_debug_bot_x64',
47 'Linux64 Release': 'gn_release_bot_x64',
48 'Linux Asan': 'gn_asan_lsan_clang_release_bot_x64',
49 'Linux Memcheck': 'gn_memcheck_release_bot_x64',
50 'Linux MSan': 'gn_msan_clang_release_bot_x64',
51 'Linux Tsan v2': 'gn_tsan_clang_release_bot_x64',
52 'Linux UBSan': 'gn_ubsan_clang_release_bot_x64',
53 'Linux UBSan vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
54 'Linux64 Release [large tests]': 'gn_release_bot_x64',
55 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
56 # the bots to the GYP versions (duplicated now).
57 'Linux64 Debug (GN)': 'gyp_debug_bot_x64_exclude_tests',
58 'Linux64 Release (GN)': 'gyp_release_bot_x64_exclude_tests',
59 'Linux64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
60 'Linux64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -070061
62 # Android
kjellander4c8adb12016-08-24 00:34:40 -070063 'Android32 Builder': 'android_gn_release_bot_arm',
64 'Android32 Builder (dbg)': 'android_gn_debug_static_bot_arm',
65 'Android32 Builder x86': 'android_gn_release_bot_x86',
66 'Android32 Builder x86 (dbg)': 'android_gn_debug_static_bot_x86',
67 'Android32 Builder MIPS (dbg)': 'android_gn_clang_debug_static_bot_mipsel',
68 'Android32 Clang (dbg)': 'android_gn_clang_debug_static_bot_arm',
69 'Android64 Builder': 'android_gn_release_bot_arm64',
70 'Android64 Builder (dbg)': 'android_gn_debug_static_bot_arm64',
71 'Android64 Builder x64 (dbg)': 'android_gn_debug_static_bot_x64',
72 # TODO(kjellander): Remove the 'Android32 GN' configs as soon we've
73 # renamed these bots to Android32 GYP in the main waterfall.
74 'Android32 GN': 'android_gyp_release_bot_arm',
75 'Android32 GN (dbg)': 'android_gyp_debug_static_bot_arm',
76 'Android32 GYP': 'android_gyp_release_bot_arm',
77 'Android32 GYP (dbg)': 'android_gyp_debug_static_bot_arm',
ehmaldonado89b0ca82016-08-09 08:15:03 -070078 'Android32 Tests (L Nexus5)(dbg)': 'none',
79 'Android32 Tests (L Nexus5)': 'none',
80 'Android32 Tests (L Nexus7.2)(dbg)': 'none',
81 'Android32 Tests (L Nexus7.2)': 'none',
82 'Android64 Tests (L Nexus9)': 'none',
kjellander0ae78782016-08-11 00:49:47 -070083
84 # Windows
85 'Win32 Debug': 'gyp_debug_bot_x86',
86 'Win32 Release': 'gyp_release_bot_x86',
87 'Win64 Debug': 'gyp_debug_bot_x64',
88 'Win64 Release': 'gyp_release_bot_x64',
89 'Win64 Debug (GN)': 'gn_debug_bot_x64',
90 'Win64 Release (GN)': 'gn_release_bot_x64',
91 'Win32 Debug (Clang)': 'win_gyp_clang_debug_bot_x86',
92 'Win32 Release (Clang)': 'win_gyp_clang_release_bot_x86',
93 'Win64 Debug (Clang)': 'win_gyp_clang_debug_bot_x64',
94 'Win64 Release (Clang)': 'win_gyp_clang_release_bot_x64',
95 'Win SyzyASan': 'win_gyp_syzyasan_release_bot_x86',
96 'Win DrMemory Full': 'win_gyp_drmemory_debug_bot_x86',
97 'Win DrMemory Light': 'win_gyp_drmemory_debug_bot_x86',
98 'Win32 Release [large tests]': 'gyp_release_bot_x86',
ehmaldonadod046d982016-08-08 06:59:14 -070099 },
100 'tryserver.webrtc': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700101 # iOS
kjellander1c814e72016-08-16 02:42:02 -0700102 'ios_dbg': 'ios_gyp_debug_static_bot_arm_device',
kjellander3cb0c572016-08-09 13:00:57 -0700103 'ios_rel': 'ios_gyp_release_bot_arm_device',
kjellander1c814e72016-08-16 02:42:02 -0700104 'ios_arm64_dbg': 'ios_gyp_debug_static_bot_arm64_device',
kjellander3cb0c572016-08-09 13:00:57 -0700105 'ios_arm64_rel': 'ios_gyp_release_bot_arm64_device',
kjellander1c814e72016-08-16 02:42:02 -0700106 'ios32_sim_dbg': 'ios_gyp_debug_static_bot_x86',
107 'ios64_sim_dbg': 'ios_gyp_debug_static_bot_x64',
108 'ios64_gn_dbg': 'ios_gn_debug_static_bot_arm64_device',
kjellander3cb0c572016-08-09 13:00:57 -0700109 'ios64_gn_rel': 'ios_gn_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -0700110
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700111 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700112 'mac_compile_dbg': 'gn_debug_bot_x64',
113 'mac_compile_rel': 'gn_release_bot_x64',
114 'mac_dbg': 'gn_debug_bot_x64',
115 'mac_rel': 'gn_release_bot_x64',
116 'mac_asan': 'mac_gn_asan_clang_release_bot_x64',
117 'mac_baremetal': 'gn_release_bot_x64',
118 'mac_swarming': 'swarming_gn_debug_bot_x64',
119 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
120 # the bots to the GYP versions (duplicated now).
121 'mac_gn_dbg': 'gyp_debug_bot_x64_exclude_tests',
122 'mac_gn_rel': 'gyp_release_bot_x64_exclude_tests',
123 'mac_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
124 'mac_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700125
ehmaldonado09abaa02016-08-09 02:26:16 -0700126 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -0700127 'linux_compile_dbg': 'gn_debug_bot_x64',
128 'linux_compile_rel': 'gn_release_bot_x64',
129 'linux_dbg': 'gn_debug_bot_x64',
130 'linux_rel': 'gn_release_bot_x64',
131 'linux_arm': 'gn_crosscompile_release_bot_arm',
132 'linux_asan': 'gn_asan_lsan_clang_release_bot_x64',
133 'linux_memcheck': 'gn_memcheck_release_bot_x64',
134 'linux_msan': 'gn_msan_clang_release_bot_x64',
135 'linux_tsan2': 'gn_tsan_clang_release_bot_x64',
136 'linux_ubsan': 'gn_ubsan_clang_release_bot_x64',
137 'linux_ubsan_vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
138 'linux_baremetal': 'gn_release_bot_x64',
139 'linux_swarming': 'swarming_gn_debug_bot_x64',
140 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
141 # the bots to the GYP versions (duplicated now).
142 'linux_gn_dbg': 'gyp_debug_bot_x64_exclude_tests',
143 'linux_gn_rel': 'gyp_release_bot_x64_exclude_tests',
144 'linux_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
145 'linux_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -0700146
147 # Android
kjellander4c8adb12016-08-24 00:34:40 -0700148 'android_compile_dbg': 'android_gn_debug_static_bot_arm',
149 'android_compile_rel': 'android_gn_release_bot_arm',
150 'android_compile_arm64_dbg': 'android_gn_debug_static_bot_arm64',
151 'android_compile_arm64_rel': 'android_gn_release_bot_arm64',
152 'android_compile_x86_dbg': 'android_gn_debug_static_bot_x86',
153 'android_compile_x86_rel': 'android_gn_release_bot_x86',
154 'android_compile_x64_dbg': 'android_gn_debug_static_bot_x64',
155 'android_compile_mips_dbg': 'android_gn_clang_debug_static_bot_mipsel',
156 'android_dbg': 'android_gn_debug_static_bot_arm',
157 'android_rel': 'android_gn_release_bot_arm',
158 'android_clang_dbg': 'android_gn_clang_debug_static_bot_arm',
159 'android_arm64_rel': 'android_gn_release_bot_arm64',
160 'android_n6': 'android_gn_debug_static_bot_arm',
161 # TODO(kjellander): Remove the android_gn_* configs as soon we've renamed
162 # the bots to the GYP versions at the tryserver.
163 'android_gn_dbg': 'android_gyp_debug_static_bot_arm',
164 'android_gn_rel': 'android_gyp_release_bot_arm',
165 'android_gyp_dbg': 'android_gyp_debug_static_bot_arm',
166 'android_gyp_rel': 'android_gyp_release_bot_arm',
kjellander0ae78782016-08-11 00:49:47 -0700167
168 # Windows
169 'win_compile_dbg': 'gyp_debug_bot_x86',
170 'win_compile_rel': 'gyp_release_bot_x86',
171 'win_compile_x64_dbg': 'gyp_debug_bot_x64',
172 'win_compile_x64_rel': 'gyp_release_bot_x64',
173 'win_dbg': 'gyp_debug_bot_x86',
174 'win_rel': 'gyp_release_bot_x86',
175 'win_x64_dbg': 'gyp_debug_bot_x64',
176 'win_x64_rel': 'gyp_release_bot_x64',
177 'win_x64_gn_dbg': 'gn_debug_bot_x64',
178 'win_x64_gn_rel': 'gn_release_bot_x64',
179 'win_clang_dbg': 'win_gyp_clang_debug_bot_x86',
180 'win_clang_rel': 'win_gyp_clang_release_bot_x86',
181 'win_x64_clang_dbg': 'win_gyp_clang_debug_bot_x64',
182 'win_x64_clang_rel': 'win_gyp_clang_release_bot_x64',
183 'win_asan': 'win_gyp_syzyasan_release_bot_x86',
184 'win_drmemory_light': 'win_gyp_drmemory_debug_bot_x86',
185 'win_drmemory_full': 'win_gyp_drmemory_debug_bot_x86',
186 'win_baremetal': 'gyp_release_bot_x86',
187 'win_swarming': 'swarming_gyp_debug_bot_x64',
ehmaldonadod046d982016-08-08 06:59:14 -0700188 },
189 },
190
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100191 # This is the list of configs that you can pass to mb; each config
192 # represents a particular combination of GYP_DEFINES/gn args that
193 # we must support. A given config *may* be platform-specific but
194 # is not necessarily so (i.e., we might have mac, win, and linux
195 # bots all using the 'gn_release_bot' config).
196 'configs': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700197 # iOS
kjellander1c814e72016-08-16 02:42:02 -0700198 'ios_gn_debug_static_bot_arm64_device': [
199 'ios', 'gn', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700200 ],
201 'ios_gn_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700202 'ios', 'gn', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700203 ],
kjellander1c814e72016-08-16 02:42:02 -0700204 'ios_gyp_debug_static_bot_arm_device': [
205 'ios', 'gyp', 'debug_static_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700206 ],
207 'ios_gyp_release_bot_arm_device': [
kjellander1c814e72016-08-16 02:42:02 -0700208 'ios', 'gyp', 'release_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700209 ],
kjellander1c814e72016-08-16 02:42:02 -0700210 'ios_gyp_debug_static_bot_arm64_device': [
211 'ios', 'gyp', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700212 ],
213 'ios_gyp_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700214 'ios', 'gyp', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700215 ],
kjellander1c814e72016-08-16 02:42:02 -0700216 'ios_gyp_debug_static_bot_x86': [
217 'ios', 'gyp', 'debug_static_bot', 'x86'
ehmaldonadod046d982016-08-08 06:59:14 -0700218 ],
kjellander1c814e72016-08-16 02:42:02 -0700219 'ios_gyp_debug_static_bot_x64': [
220 'ios', 'gyp', 'release_bot', 'x64'
ehmaldonadod046d982016-08-08 06:59:14 -0700221 ],
ehmaldonado09abaa02016-08-09 02:26:16 -0700222
kjellander0ae78782016-08-11 00:49:47 -0700223 # Linux, Mac and Windows
kjellanderfe1d1912016-08-26 06:10:30 -0700224 'gn_crosscompile_release_bot_arm': [
225 'gn', 'crosscompile', 'openh264_release_bot', 'arm'
ehmaldonado09abaa02016-08-09 02:26:16 -0700226 ],
227 'gyp_debug_bot_x86': [
kjellander3cb0c572016-08-09 13:00:57 -0700228 'gyp', 'openh264_debug_bot', 'x86'
ehmaldonado09abaa02016-08-09 02:26:16 -0700229 ],
230 'gyp_release_bot_x86': [
kjellander3cb0c572016-08-09 13:00:57 -0700231 'gyp', 'openh264_release_bot', 'x86'
ehmaldonado09abaa02016-08-09 02:26:16 -0700232 ],
233 'gyp_debug_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700234 'gyp', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700235 ],
kjellanderf02207d2016-08-24 09:40:00 -0700236 'gyp_debug_bot_x64_exclude_tests': [
237 'gyp', 'openh264_debug_bot', 'x64', 'exclude_tests', 'exclude_examples'
238 ],
ehmaldonado09abaa02016-08-09 02:26:16 -0700239 'gyp_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700240 'gyp', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700241 ],
kjellanderf02207d2016-08-24 09:40:00 -0700242 'gyp_release_bot_x64_exclude_tests': [
243 'gyp', 'openh264_release_bot', 'x64', 'exclude_tests', 'exclude_examples'
244 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700245 'gn_asan_lsan_clang_release_bot_x64': [
246 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700247 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700248 'gn_memcheck_release_bot_x64': [
249 'gn', 'memcheck', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700250 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700251 'gn_msan_clang_release_bot_x64': [
252 'gn', 'msan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700253 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700254 'gn_tsan_clang_release_bot_x64': [
255 'gn', 'tsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700256 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700257 'gn_ubsan_clang_release_bot_x64': [
258 'gn', 'ubsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700259 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700260 'gn_ubsan_vptr_clang_release_bot_x64': [
261 'gn', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700262 ],
kjellander3cb0c572016-08-09 13:00:57 -0700263 'gn_debug_bot_x64': [
264 'gn', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700265 ],
kjellander3cb0c572016-08-09 13:00:57 -0700266 'gn_release_bot_x64': [
267 'gn', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700268 ],
kjellanderf02207d2016-08-24 09:40:00 -0700269 'swarming_gn_debug_bot_x64': [
270 'swarming', 'gn', 'openh264_debug_bot', 'x64'
271 ],
kjellander3cb0c572016-08-09 13:00:57 -0700272 'swarming_gyp_debug_bot_x64': [
273 'swarming', 'gyp', 'openh264_debug_bot', 'x64'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700274 ],
275
kjellander0ae78782016-08-11 00:49:47 -0700276 # Windows
277 'win_gyp_clang_debug_bot_x86': [
278 'gyp', 'clang', 'openh264_debug_bot', 'x86',
279 ],
280 'win_gyp_clang_release_bot_x86': [
281 'gyp', 'clang', 'openh264_release_bot', 'x86',
282 ],
283 'win_gyp_clang_debug_bot_x64': [
284 'gyp', 'clang', 'openh264_debug_bot', 'x64',
285 ],
286 'win_gyp_clang_release_bot_x64': [
287 'gyp', 'clang', 'openh264_release_bot', 'x64',
288 ],
289 'win_gyp_syzyasan_release_bot_x86': [
290 'gyp', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86',
291 ],
292 # TODO(kjellander): Flip DrMemory bots over to Release after GN migration
293 # (http://crbug.com/636414).
294 'win_gyp_drmemory_debug_bot_x86': [
295 'gyp', 'drmemory', 'minimal_symbols', 'openh264_debug_bot', 'x86',
296 ],
297
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700298 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700299 'mac_gn_asan_clang_release_bot_x64': [
300 'gn', 'asan', 'clang', 'openh264_release_bot', 'x64',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700301 ],
302
ehmaldonado89b0ca82016-08-09 08:15:03 -0700303 # Android
kjellander68815bf2016-08-10 09:49:37 -0700304 'android_gyp_debug_static_bot_arm': [
ehmaldonado7a0ff2f2016-08-24 06:09:17 -0700305 'android', 'gyp', 'debug_static_bot', 'arm', 'exclude_tests',
306 'exclude_examples'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700307 ],
kjellander3cb0c572016-08-09 13:00:57 -0700308 'android_gyp_release_bot_arm': [
ehmaldonado7a0ff2f2016-08-24 06:09:17 -0700309 'android', 'gyp', 'release_bot', 'arm', 'exclude_tests',
310 'exclude_examples'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700311 ],
kjellander68815bf2016-08-10 09:49:37 -0700312 'android_gn_debug_static_bot_arm': [
313 'android', 'gn', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700314 ],
kjellander3cb0c572016-08-09 13:00:57 -0700315 'android_gn_release_bot_arm': [
316 'android', 'gn', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700317 ],
kjellander4c8adb12016-08-24 00:34:40 -0700318 'android_gn_debug_static_bot_x86': [
319 'android', 'gn', 'debug_static_bot', 'x86'
320 ],
321 'android_gn_release_bot_x86': [
322 'android', 'gn', 'release_bot', 'x86'
323 ],
324 'android_gn_clang_debug_static_bot_arm': [
325 'android', 'gn', 'clang', 'debug_static_bot', 'arm'
326 ],
327 'android_gn_clang_debug_static_bot_mipsel': [
328 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel'
329 ],
330 'android_gn_debug_static_bot_arm64': [
331 'android', 'gn', 'debug_static_bot', 'arm64'
332 ],
333 'android_gn_release_bot_arm64': [
334 'android', 'gn', 'release_bot', 'arm64'
335 ],
336 'android_gn_debug_static_bot_x64': [
337 'android', 'gn', 'debug_static_bot', 'x64'
338 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700339
340 # This is used for tracking purposes; any bot that uses this config
341 # should never actually run MB.
342 'none': [
343 'error',
344 ],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100345 },
346
347 # This is a dict mapping a given 'mixin' name to a dict of settings that
348 # mb should use. See //tools/mb/docs/user_guide.md for more information.
349 'mixins': {
ehmaldonado89b0ca82016-08-09 08:15:03 -0700350 'android': {
351 'gn_args': 'target_os="android"',
352 'gyp_defines': 'OS=android',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100353 },
354
355 'arm': {
356 'gn_args': 'target_cpu="arm"',
357 'gyp_defines': 'target_arch=arm',
358 },
359
360 'arm64': {
361 'gn_args': 'target_cpu="arm64"',
362 'gyp_defines': 'target_arch=arm64',
363 },
364
ehmaldonado09abaa02016-08-09 02:26:16 -0700365 'asan': {
366 'gn_args': 'is_asan=true',
367 'gyp_defines': 'asan=1',
368 },
369
370 'clang': {
371 'gn_args': 'is_clang=true',
372 'gyp_defines': 'clang=1',
373 },
374
kjellander5d6b84c2016-08-09 13:17:40 -0700375 'crosscompile': {
376 # This mixin is only needed on GYP bots that are doing cross-compiles
377 # but are *not* targetting Android or iOS (where
378 # webrtc/build/gyp_webrtc.py will set the crosscompile variable
379 # automatically). It is not need in GN at all.
380 'gyp_crosscompile': True,
381 },
382
ehmaldonado09abaa02016-08-09 02:26:16 -0700383 'dcheck_always_on': {
384 'gn_args': 'dcheck_always_on=true',
385 'gyp_defines': 'dcheck_always_on=1',
386 },
387
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100388 'debug': {
389 'gn_args': 'is_debug=true',
390 },
391
392 'debug_bot': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700393 'mixins': ['debug', 'shared', 'goma'],
394 },
395
kjellander68815bf2016-08-10 09:49:37 -0700396 'debug_static_bot': {
397 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
398 },
399
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100400 'device': {
kjellander@webrtc.org0c74ae12016-02-25 08:41:10 +0100401 'gn_args': 'ios_enable_code_signing=false',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100402 'gyp_defines': 'chromium_ios_signing=0',
403 },
404
kjellander0ae78782016-08-11 00:49:47 -0700405 'drmemory': {
406 'gn_args': 'is_component_build=true enable_iterator_debugging=false',
407 'gyp_defines': 'component=shared_library build_for_tool=drmemory',
408 },
409
ehmaldonado89b0ca82016-08-09 08:15:03 -0700410 # This mixin is used to force configs that use it to fail. It
411 # is used in two cases: when we have bots that we haven't looked
412 # at yet and don't know whether they need MB or not, and for bots
413 # that are test-only and should never run MB.
414 'error': {
415 'gn_args': 'error',
416 'gyp_defines': 'target_arch=unknown',
417 },
418
ehmaldonado7a0ff2f2016-08-24 06:09:17 -0700419 'exclude_examples': {
420 'gyp_defines': 'include_examples=0',
421 },
422
423 'exclude_tests': {
424 'gn_args': 'rtc_include_tests=false',
425 'gyp_defines': 'include_tests=0',
426 },
427
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100428 'gn': {'type': 'gn'},
429
ehmaldonado09abaa02016-08-09 02:26:16 -0700430 'goma': {
431 # The MB code will properly escape goma_dir if necessary in the GYP
432 # code path; the GN code path needs no escaping.
433 'gn_args': 'use_goma=true',
434 'gyp_defines': 'use_goma=1',
435 },
436
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100437 'gyp': {'type': 'gyp'},
438
ehmaldonado89b0ca82016-08-09 08:15:03 -0700439 'ios': {
440 'gn_args': 'target_os="ios"',
441 'gyp_defines': 'OS=ios',
442 },
443
ehmaldonado09abaa02016-08-09 02:26:16 -0700444 'lsan': {
445 'gn_args': 'is_lsan=true',
446 'gyp_defines': 'lsan=1',
447 },
448
449 'memcheck': {
450 'gyp_defines': 'build_for_tool=memcheck',
451 },
452
kjellander68815bf2016-08-10 09:49:37 -0700453 'minimal_symbols': {
454 'gn_args': 'symbol_level=1',
455 'gyp_defines': 'fastbuild=1',
456 },
457
ehmaldonado89b0ca82016-08-09 08:15:03 -0700458 'mipsel': {
459 'gn_args': 'target_cpu="mipsel"',
460 'gyp_defines': 'target_arch=mipsel',
461 },
462
kjellander0ae78782016-08-11 00:49:47 -0700463 'minimal_symbols': {
464 'gn_args': 'symbol_level=1',
465 'gyp_defines': 'fastbuild=1',
466 },
467
ehmaldonado09abaa02016-08-09 02:26:16 -0700468 'msan': {
469 'gn_args': ('is_msan=true msan_track_origins=2 '
470 'use_prebuilt_instrumented_libraries=true'),
471 'gyp_defines': ('msan=1 msan_track_origins=2 '
472 'use_prebuilt_instrumented_libraries=1'),
473 },
474
ehmaldonado09abaa02016-08-09 02:26:16 -0700475 'openh264': {
476 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true',
477 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1',
478 },
479
kjellander3cb0c572016-08-09 13:00:57 -0700480 'openh264_debug_bot': {
481 'mixins': ['openh264', 'debug_bot'],
482 },
483
484 'openh264_release_bot': {
485 'mixins': ['openh264', 'release_bot'],
486 },
487
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100488 'release': {
489 'gn_args': 'is_debug=false',
490 },
491
492 'release_bot': {
kjellander3cb0c572016-08-09 13:00:57 -0700493 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100494 },
495
496 'shared': {
497 'gn_args': 'is_component_build=true',
498 'gyp_defines': 'component=shared_library',
499 },
500
501 'static': {
502 'gn_args': 'is_component_build=false',
503 'gyp_defines': 'component=static_library',
504 },
505
ehmaldonado09abaa02016-08-09 02:26:16 -0700506 'swarming': {
507 'gn_args': '',
508 'gyp_defines': 'test_isolation_mode=prepare',
509 },
510
kjellander0ae78782016-08-11 00:49:47 -0700511 'syzyasan': {
512 'gn_args': 'is_syzyasan=true',
513 'gyp_defines': 'syzyasan=1'
514 },
515
kjellander3cb0c572016-08-09 13:00:57 -0700516 'tsan': {
517 'gn_args': 'is_tsan=true',
518 'gyp_defines': 'tsan=1',
519 },
520
ehmaldonado09abaa02016-08-09 02:26:16 -0700521 'ubsan': {
522 'gn_args': 'is_ubsan=true',
523 'gyp_defines': 'ubsan=1',
524 },
525
526 'ubsan_vptr': {
527 'gn_args': 'is_ubsan_vptr=true',
528 'gyp_defines': 'ubsan_vptr=1',
529 },
530
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100531 'x64': {
532 'gn_args': 'target_cpu="x64"',
533 'gyp_defines': 'target_arch=x64',
534 },
535
536 'x86': {
537 'gn_args': 'target_cpu="x86"',
538 'gyp_defines': 'target_arch=ia32',
539 },
540 },
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100541}