blob: 29bdbfabca56031b32c643b76b6b85b8d4bfc130 [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
kjellander6e5b0d72016-08-30 14:05:44 -070023 'iOS32 Debug': 'ios_gn_debug_static_bot_arm_device',
24 'iOS32 Release': 'ios_gn_release_bot_arm_device',
25 'iOS64 Debug': 'ios_gn_debug_static_bot_arm64_device',
26 'iOS64 Release': 'ios_gn_release_bot_arm64_device',
27 'iOS32 Simulator Debug': 'ios_gn_debug_static_bot_x86',
28 'iOS64 Simulator Debug': 'ios_gn_debug_static_bot_x64',
kjellander6e5b0d72016-08-30 14:05:44 -070029 'iOS64 Debug (GYP)': 'ios_gyp_debug_static_bot_arm64_device',
30 'iOS64 Release (GYP)': 'ios_gyp_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',
kjellanderf02207d2016-08-24 09:40:00 -070037 'Mac64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
38 'Mac64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -070039
ehmaldonado09abaa02016-08-09 02:26:16 -070040 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -070041 'Linux32 ARM': 'gn_crosscompile_release_bot_arm',
42 'Linux64 Debug': 'gn_debug_bot_x64',
43 'Linux64 Release': 'gn_release_bot_x64',
44 'Linux Asan': 'gn_asan_lsan_clang_release_bot_x64',
45 'Linux Memcheck': 'gn_memcheck_release_bot_x64',
46 'Linux MSan': 'gn_msan_clang_release_bot_x64',
47 'Linux Tsan v2': 'gn_tsan_clang_release_bot_x64',
48 'Linux UBSan': 'gn_ubsan_clang_release_bot_x64',
49 'Linux UBSan vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
50 'Linux64 Release [large tests]': 'gn_release_bot_x64',
kjellanderfe1d1912016-08-26 06:10:30 -070051 'Linux64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
52 'Linux64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -070053
54 # Android
kjellander4c8adb12016-08-24 00:34:40 -070055 'Android32 Builder': 'android_gn_release_bot_arm',
56 'Android32 Builder (dbg)': 'android_gn_debug_static_bot_arm',
57 'Android32 Builder x86': 'android_gn_release_bot_x86',
58 'Android32 Builder x86 (dbg)': 'android_gn_debug_static_bot_x86',
59 'Android32 Builder MIPS (dbg)': 'android_gn_clang_debug_static_bot_mipsel',
60 'Android32 Clang (dbg)': 'android_gn_clang_debug_static_bot_arm',
61 'Android64 Builder': 'android_gn_release_bot_arm64',
62 'Android64 Builder (dbg)': 'android_gn_debug_static_bot_arm64',
63 'Android64 Builder x64 (dbg)': 'android_gn_debug_static_bot_x64',
kjellander4c8adb12016-08-24 00:34:40 -070064 'Android32 GYP': 'android_gyp_release_bot_arm',
65 'Android32 GYP (dbg)': 'android_gyp_debug_static_bot_arm',
ehmaldonado89b0ca82016-08-09 08:15:03 -070066 'Android32 Tests (L Nexus5)(dbg)': 'none',
67 'Android32 Tests (L Nexus5)': 'none',
68 'Android32 Tests (L Nexus7.2)(dbg)': 'none',
69 'Android32 Tests (L Nexus7.2)': 'none',
70 'Android64 Tests (L Nexus9)': 'none',
kjellander0ae78782016-08-11 00:49:47 -070071
72 # Windows
kjellander133edb22016-08-28 20:35:55 -070073 'Win32 Debug': 'gn_debug_bot_x86',
74 'Win32 Release': 'gn_release_bot_x86',
75 'Win64 Debug': 'gn_debug_bot_x64',
76 'Win64 Release': 'gn_release_bot_x64',
77 'Win32 Debug (Clang)': 'win_gn_clang_debug_bot_x86',
78 'Win32 Release (Clang)': 'win_gn_clang_release_bot_x86',
79 'Win64 Debug (Clang)': 'win_gn_clang_debug_bot_x64',
80 'Win64 Release (Clang)': 'win_gn_clang_release_bot_x64',
81 'Win SyzyASan': 'win_gn_syzyasan_release_bot_x86',
82 'Win DrMemory Full': 'win_gn_drmemory_debug_bot_x86',
83 'Win DrMemory Light': 'win_gn_drmemory_debug_bot_x86',
84 'Win32 Release [large tests]': 'gn_release_bot_x86',
kjellander133edb22016-08-28 20:35:55 -070085 'Win64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
86 'Win64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod046d982016-08-08 06:59:14 -070087 },
88 'tryserver.webrtc': {
ehmaldonado09abaa02016-08-09 02:26:16 -070089 # iOS
kjellander6e5b0d72016-08-30 14:05:44 -070090 'ios_dbg': 'ios_gn_debug_static_bot_arm_device',
91 'ios_rel': 'ios_gn_release_bot_arm_device',
92 'ios_arm64_dbg': 'ios_gn_debug_static_bot_arm64_device',
93 'ios_arm64_rel': 'ios_gn_release_bot_arm64_device',
94 'ios32_sim_dbg': 'ios_gn_debug_static_bot_x86',
95 'ios64_sim_dbg': 'ios_gn_debug_static_bot_x64',
kjellander6e5b0d72016-08-30 14:05:44 -070096 'ios64_gyp_dbg': 'ios_gyp_debug_static_bot_arm64_device',
97 'ios64_gyp_rel': 'ios_gyp_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -070098
ehmaldonadoa3a1fde2016-08-11 01:04:35 -070099 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700100 'mac_compile_dbg': 'gn_debug_bot_x64',
101 'mac_compile_rel': 'gn_release_bot_x64',
102 'mac_dbg': 'gn_debug_bot_x64',
103 'mac_rel': 'gn_release_bot_x64',
104 'mac_asan': 'mac_gn_asan_clang_release_bot_x64',
105 'mac_baremetal': 'gn_release_bot_x64',
106 'mac_swarming': 'swarming_gn_debug_bot_x64',
kjellanderf02207d2016-08-24 09:40:00 -0700107 'mac_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
108 'mac_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700109
ehmaldonado09abaa02016-08-09 02:26:16 -0700110 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -0700111 'linux_compile_dbg': 'gn_debug_bot_x64',
112 'linux_compile_rel': 'gn_release_bot_x64',
113 'linux_dbg': 'gn_debug_bot_x64',
114 'linux_rel': 'gn_release_bot_x64',
Henrik Kjellander891eaac2016-09-06 09:52:45 +0200115 'linux32_dbg': 'gn_debug_bot_x86',
116 'linux32_rel': 'gn_release_bot_x86',
kjellanderfe1d1912016-08-26 06:10:30 -0700117 'linux_arm': 'gn_crosscompile_release_bot_arm',
118 'linux_asan': 'gn_asan_lsan_clang_release_bot_x64',
119 'linux_memcheck': 'gn_memcheck_release_bot_x64',
120 'linux_msan': 'gn_msan_clang_release_bot_x64',
121 'linux_tsan2': 'gn_tsan_clang_release_bot_x64',
122 'linux_ubsan': 'gn_ubsan_clang_release_bot_x64',
123 'linux_ubsan_vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
124 'linux_baremetal': 'gn_release_bot_x64',
125 'linux_swarming': 'swarming_gn_debug_bot_x64',
kjellanderfe1d1912016-08-26 06:10:30 -0700126 'linux_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
127 'linux_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -0700128
129 # Android
kjellander4c8adb12016-08-24 00:34:40 -0700130 'android_compile_dbg': 'android_gn_debug_static_bot_arm',
131 'android_compile_rel': 'android_gn_release_bot_arm',
132 'android_compile_arm64_dbg': 'android_gn_debug_static_bot_arm64',
133 'android_compile_arm64_rel': 'android_gn_release_bot_arm64',
134 'android_compile_x86_dbg': 'android_gn_debug_static_bot_x86',
135 'android_compile_x86_rel': 'android_gn_release_bot_x86',
136 'android_compile_x64_dbg': 'android_gn_debug_static_bot_x64',
137 'android_compile_mips_dbg': 'android_gn_clang_debug_static_bot_mipsel',
138 'android_dbg': 'android_gn_debug_static_bot_arm',
139 'android_rel': 'android_gn_release_bot_arm',
140 'android_clang_dbg': 'android_gn_clang_debug_static_bot_arm',
141 'android_arm64_rel': 'android_gn_release_bot_arm64',
142 'android_n6': 'android_gn_debug_static_bot_arm',
kjellander4c8adb12016-08-24 00:34:40 -0700143 'android_gyp_dbg': 'android_gyp_debug_static_bot_arm',
144 'android_gyp_rel': 'android_gyp_release_bot_arm',
kjellander0ae78782016-08-11 00:49:47 -0700145
146 # Windows
kjellander133edb22016-08-28 20:35:55 -0700147 'win_compile_dbg': 'gn_debug_bot_x86',
148 'win_compile_rel': 'gn_release_bot_x86',
149 'win_compile_x64_dbg': 'gn_debug_bot_x64',
150 'win_compile_x64_rel': 'gn_release_bot_x64',
151 'win_dbg': 'gn_debug_bot_x86',
152 'win_rel': 'gn_release_bot_x86',
153 'win_x64_dbg': 'gn_debug_bot_x64',
154 'win_x64_rel': 'gn_release_bot_x64',
155 'win_clang_dbg': 'win_gn_clang_debug_bot_x86',
156 'win_clang_rel': 'win_gn_clang_release_bot_x86',
157 'win_x64_clang_dbg': 'win_gn_clang_debug_bot_x64',
158 'win_x64_clang_rel': 'win_gn_clang_release_bot_x64',
159 'win_asan': 'win_gn_syzyasan_release_bot_x86',
160 'win_drmemory_light': 'win_gn_drmemory_debug_bot_x86',
161 'win_drmemory_full': 'win_gn_drmemory_debug_bot_x86',
162 'win_baremetal': 'gn_release_bot_x86',
163 'win_swarming': 'swarming_gn_debug_bot_x64',
kjellander133edb22016-08-28 20:35:55 -0700164 'win_x64_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
165 'win_x64_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod046d982016-08-08 06:59:14 -0700166 },
ehmaldonadod6e65b32016-09-05 06:43:56 -0700167 'client.webrtc.fyi': {
168 # Mac
169 'Mac64 Release (swarming)': 'swarming_gn_release_bot_x64',
170
171 # Linux
172 'Linux32 Debug': 'gn_debug_bot_x86',
173 'Linux32 Release': 'gn_release_bot_x86',
174 'Linux64 GCC': 'gn_gcc_release_bot_x64',
175 'Linux64 Release (swarming)': 'swarming_gn_release_bot_x64',
176
177 # Android
178 'Android32 ASan (L Nexus6)': 'android_gn_asan_shared_release_bot_arm',
179 'Android32 Builder': 'android_gn_release_bot_arm',
180 'Android32 Tests (J Nexus4)': 'none',
181 'Android32 Tests (K Nexus5)': 'none',
182 'Android32 Tests (L Nexus6)': 'none',
183
184 # Windows
185 'Win32 Release (swarming)': 'swarming_gn_release_bot_x86',
186 }
ehmaldonadod046d982016-08-08 06:59:14 -0700187 },
188
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100189 # This is the list of configs that you can pass to mb; each config
190 # represents a particular combination of GYP_DEFINES/gn args that
191 # we must support. A given config *may* be platform-specific but
192 # is not necessarily so (i.e., we might have mac, win, and linux
193 # bots all using the 'gn_release_bot' config).
194 'configs': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700195 # iOS
kjellander1c814e72016-08-16 02:42:02 -0700196 'ios_gn_debug_static_bot_arm64_device': [
197 'ios', 'gn', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700198 ],
199 'ios_gn_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700200 'ios', 'gn', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700201 ],
kjellander6e5b0d72016-08-30 14:05:44 -0700202 'ios_gn_debug_static_bot_arm_device': [
203 'ios', 'gn', 'debug_static_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700204 ],
kjellander6e5b0d72016-08-30 14:05:44 -0700205 'ios_gn_release_bot_arm_device': [
206 'ios', 'gn', 'release_bot', 'arm', 'device'
207 ],
208 'ios_gn_debug_static_bot_x86': [
209 'ios', 'gn', 'debug_static_bot', 'x86'
210 ],
211 'ios_gn_debug_static_bot_x64': [
212 'ios', 'gn', 'debug_static_bot', 'x64'
ehmaldonadod046d982016-08-08 06:59:14 -0700213 ],
kjellander1c814e72016-08-16 02:42:02 -0700214 'ios_gyp_debug_static_bot_arm64_device': [
215 'ios', 'gyp', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700216 ],
217 'ios_gyp_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700218 'ios', 'gyp', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700219 ],
ehmaldonado09abaa02016-08-09 02:26:16 -0700220
kjellander0ae78782016-08-11 00:49:47 -0700221 # Linux, Mac and Windows
ehmaldonadod6e65b32016-09-05 06:43:56 -0700222 'gn_gcc_release_bot_x64': [
223 'gn', 'gcc', 'release_bot', 'x64'
224 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700225 'gn_crosscompile_release_bot_arm': [
226 'gn', 'crosscompile', 'openh264_release_bot', 'arm'
ehmaldonado09abaa02016-08-09 02:26:16 -0700227 ],
kjellanderf02207d2016-08-24 09:40:00 -0700228 'gyp_debug_bot_x64_exclude_tests': [
ehmaldonado6b748652016-08-31 01:53:42 -0700229 'gyp', 'gyp_limited_support_build', 'debug_bot', 'x64'
kjellanderf02207d2016-08-24 09:40:00 -0700230 ],
kjellanderf02207d2016-08-24 09:40:00 -0700231 'gyp_release_bot_x64_exclude_tests': [
ehmaldonado6b748652016-08-31 01:53:42 -0700232 'gyp', 'gyp_limited_support_build', 'release_bot', 'x64'
kjellanderf02207d2016-08-24 09:40:00 -0700233 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700234 'gn_asan_lsan_clang_release_bot_x64': [
235 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700236 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700237 'gn_memcheck_release_bot_x64': [
238 'gn', 'memcheck', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700239 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700240 'gn_msan_clang_release_bot_x64': [
241 'gn', 'msan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700242 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700243 'gn_tsan_clang_release_bot_x64': [
244 'gn', 'tsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700245 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700246 'gn_ubsan_clang_release_bot_x64': [
247 'gn', 'ubsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700248 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700249 'gn_ubsan_vptr_clang_release_bot_x64': [
250 'gn', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700251 ],
kjellander133edb22016-08-28 20:35:55 -0700252 'gn_debug_bot_x86': [
253 'gn', 'openh264_debug_bot', 'x86'
254 ],
255 'gn_release_bot_x86': [
256 'gn', 'openh264_release_bot', 'x86'
257 ],
kjellander3cb0c572016-08-09 13:00:57 -0700258 'gn_debug_bot_x64': [
259 'gn', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700260 ],
kjellander3cb0c572016-08-09 13:00:57 -0700261 'gn_release_bot_x64': [
262 'gn', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700263 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700264 'swarming_gn_release_bot_x86': [
265 'swarming', 'gn', 'openh264_release_bot', 'x86'
266 ],
kjellanderf02207d2016-08-24 09:40:00 -0700267 'swarming_gn_debug_bot_x64': [
268 'swarming', 'gn', 'openh264_debug_bot', 'x64'
269 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700270 'swarming_gn_release_bot_x64': [
271 'swarming', 'gn', 'openh264_release_bot', 'x64'
272 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700273
kjellander0ae78782016-08-11 00:49:47 -0700274 # Windows
kjellander133edb22016-08-28 20:35:55 -0700275 'win_gn_clang_debug_bot_x86': [
276 'gn', 'clang', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700277 ],
kjellander133edb22016-08-28 20:35:55 -0700278 'win_gn_clang_release_bot_x86': [
279 'gn', 'clang', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700280 ],
kjellander133edb22016-08-28 20:35:55 -0700281 'win_gn_clang_debug_bot_x64': [
282 'gn', 'clang', 'openh264_debug_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700283 ],
kjellander133edb22016-08-28 20:35:55 -0700284 'win_gn_clang_release_bot_x64': [
285 'gn', 'clang', 'openh264_release_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700286 ],
kjellander133edb22016-08-28 20:35:55 -0700287 'win_gn_syzyasan_release_bot_x86': [
288 'gn', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700289 ],
290 # TODO(kjellander): Flip DrMemory bots over to Release after GN migration
291 # (http://crbug.com/636414).
kjellander133edb22016-08-28 20:35:55 -0700292 'win_gn_drmemory_debug_bot_x86': [
293 'gn', 'drmemory', 'minimal_symbols', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700294 ],
295
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700296 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700297 'mac_gn_asan_clang_release_bot_x64': [
298 'gn', 'asan', 'clang', 'openh264_release_bot', 'x64',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700299 ],
300
ehmaldonado89b0ca82016-08-09 08:15:03 -0700301 # Android
kjellander68815bf2016-08-10 09:49:37 -0700302 'android_gyp_debug_static_bot_arm': [
ehmaldonado6b748652016-08-31 01:53:42 -0700303 'android', 'gyp', 'gyp_limited_support_build', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700304 ],
kjellander3cb0c572016-08-09 13:00:57 -0700305 'android_gyp_release_bot_arm': [
ehmaldonado6b748652016-08-31 01:53:42 -0700306 'android', 'gyp', 'gyp_limited_support_build', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700307 ],
kjellander68815bf2016-08-10 09:49:37 -0700308 'android_gn_debug_static_bot_arm': [
309 'android', 'gn', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700310 ],
kjellander3cb0c572016-08-09 13:00:57 -0700311 'android_gn_release_bot_arm': [
312 'android', 'gn', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700313 ],
kjellander4c8adb12016-08-24 00:34:40 -0700314 'android_gn_debug_static_bot_x86': [
315 'android', 'gn', 'debug_static_bot', 'x86'
316 ],
317 'android_gn_release_bot_x86': [
318 'android', 'gn', 'release_bot', 'x86'
319 ],
320 'android_gn_clang_debug_static_bot_arm': [
321 'android', 'gn', 'clang', 'debug_static_bot', 'arm'
322 ],
323 'android_gn_clang_debug_static_bot_mipsel': [
324 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel'
325 ],
326 'android_gn_debug_static_bot_arm64': [
327 'android', 'gn', 'debug_static_bot', 'arm64'
328 ],
329 'android_gn_release_bot_arm64': [
330 'android', 'gn', 'release_bot', 'arm64'
331 ],
332 'android_gn_debug_static_bot_x64': [
333 'android', 'gn', 'debug_static_bot', 'x64'
334 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700335 'android_gn_asan_shared_release_bot_arm': [
336 'android', 'gn', 'asan', 'clang', 'shared', 'release_bot', 'arm'
337 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700338
339 # This is used for tracking purposes; any bot that uses this config
340 # should never actually run MB.
341 'none': [
342 'error',
343 ],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100344 },
345
346 # This is a dict mapping a given 'mixin' name to a dict of settings that
347 # mb should use. See //tools/mb/docs/user_guide.md for more information.
348 'mixins': {
ehmaldonado89b0ca82016-08-09 08:15:03 -0700349 'android': {
350 'gn_args': 'target_os="android"',
351 'gyp_defines': 'OS=android',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100352 },
353
354 'arm': {
355 'gn_args': 'target_cpu="arm"',
356 'gyp_defines': 'target_arch=arm',
357 },
358
359 'arm64': {
360 'gn_args': 'target_cpu="arm64"',
361 'gyp_defines': 'target_arch=arm64',
362 },
363
ehmaldonado09abaa02016-08-09 02:26:16 -0700364 'asan': {
365 'gn_args': 'is_asan=true',
366 'gyp_defines': 'asan=1',
367 },
368
369 'clang': {
370 'gn_args': 'is_clang=true',
371 'gyp_defines': 'clang=1',
372 },
373
kjellander5d6b84c2016-08-09 13:17:40 -0700374 'crosscompile': {
375 # This mixin is only needed on GYP bots that are doing cross-compiles
376 # but are *not* targetting Android or iOS (where
377 # webrtc/build/gyp_webrtc.py will set the crosscompile variable
378 # automatically). It is not need in GN at all.
379 'gyp_crosscompile': True,
380 },
381
ehmaldonado09abaa02016-08-09 02:26:16 -0700382 'dcheck_always_on': {
383 'gn_args': 'dcheck_always_on=true',
384 'gyp_defines': 'dcheck_always_on=1',
385 },
386
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100387 'debug': {
388 'gn_args': 'is_debug=true',
389 },
390
391 'debug_bot': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700392 'mixins': ['debug', 'shared', 'goma'],
393 },
394
kjellander68815bf2016-08-10 09:49:37 -0700395 'debug_static_bot': {
396 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
397 },
398
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100399 'device': {
kjellander@webrtc.org0c74ae12016-02-25 08:41:10 +0100400 'gn_args': 'ios_enable_code_signing=false',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100401 'gyp_defines': 'chromium_ios_signing=0',
402 },
403
kjellander0ae78782016-08-11 00:49:47 -0700404 'drmemory': {
405 'gn_args': 'is_component_build=true enable_iterator_debugging=false',
406 'gyp_defines': 'component=shared_library build_for_tool=drmemory',
407 },
408
ehmaldonado89b0ca82016-08-09 08:15:03 -0700409 # This mixin is used to force configs that use it to fail. It
410 # is used in two cases: when we have bots that we haven't looked
411 # at yet and don't know whether they need MB or not, and for bots
412 # that are test-only and should never run MB.
413 'error': {
414 'gn_args': 'error',
415 'gyp_defines': 'target_arch=unknown',
416 },
417
ehmaldonadod6e65b32016-09-05 06:43:56 -0700418 'gcc': {
419 'gn_args': 'is_clang=false use_sysroot=false',
420 'gyp_defines': 'clang=0',
421 },
422
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100423 'gn': {'type': 'gn'},
424
ehmaldonado09abaa02016-08-09 02:26:16 -0700425 'goma': {
426 # The MB code will properly escape goma_dir if necessary in the GYP
427 # code path; the GN code path needs no escaping.
428 'gn_args': 'use_goma=true',
429 'gyp_defines': 'use_goma=1',
430 },
431
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100432 'gyp': {'type': 'gyp'},
433
ehmaldonado6b748652016-08-31 01:53:42 -0700434 'gyp_limited_support_build': {
kjellander84fcbd42016-09-02 11:55:39 -0700435 'gyp_defines': 'include_examples=0 include_tests=0'
ehmaldonado6b748652016-08-31 01:53:42 -0700436 },
437
ehmaldonado89b0ca82016-08-09 08:15:03 -0700438 'ios': {
439 'gn_args': 'target_os="ios"',
440 'gyp_defines': 'OS=ios',
441 },
442
ehmaldonado09abaa02016-08-09 02:26:16 -0700443 'lsan': {
444 'gn_args': 'is_lsan=true',
445 'gyp_defines': 'lsan=1',
446 },
447
448 'memcheck': {
449 'gyp_defines': 'build_for_tool=memcheck',
450 },
451
kjellander68815bf2016-08-10 09:49:37 -0700452 'minimal_symbols': {
453 'gn_args': 'symbol_level=1',
454 'gyp_defines': 'fastbuild=1',
455 },
456
ehmaldonado89b0ca82016-08-09 08:15:03 -0700457 'mipsel': {
458 'gn_args': 'target_cpu="mipsel"',
459 'gyp_defines': 'target_arch=mipsel',
460 },
461
kjellander0ae78782016-08-11 00:49:47 -0700462 'minimal_symbols': {
463 'gn_args': 'symbol_level=1',
464 'gyp_defines': 'fastbuild=1',
465 },
466
ehmaldonado09abaa02016-08-09 02:26:16 -0700467 'msan': {
468 'gn_args': ('is_msan=true msan_track_origins=2 '
469 'use_prebuilt_instrumented_libraries=true'),
470 'gyp_defines': ('msan=1 msan_track_origins=2 '
471 'use_prebuilt_instrumented_libraries=1'),
472 },
473
ehmaldonado09abaa02016-08-09 02:26:16 -0700474 'openh264': {
475 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true',
476 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1',
477 },
478
kjellander3cb0c572016-08-09 13:00:57 -0700479 'openh264_debug_bot': {
480 'mixins': ['openh264', 'debug_bot'],
481 },
482
483 'openh264_release_bot': {
484 'mixins': ['openh264', 'release_bot'],
485 },
486
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100487 'release': {
488 'gn_args': 'is_debug=false',
489 },
490
491 'release_bot': {
kjellander3cb0c572016-08-09 13:00:57 -0700492 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100493 },
494
495 'shared': {
496 'gn_args': 'is_component_build=true',
497 'gyp_defines': 'component=shared_library',
498 },
499
500 'static': {
501 'gn_args': 'is_component_build=false',
502 'gyp_defines': 'component=static_library',
503 },
504
ehmaldonado09abaa02016-08-09 02:26:16 -0700505 'swarming': {
506 'gn_args': '',
507 'gyp_defines': 'test_isolation_mode=prepare',
508 },
509
kjellander0ae78782016-08-11 00:49:47 -0700510 'syzyasan': {
511 'gn_args': 'is_syzyasan=true',
512 'gyp_defines': 'syzyasan=1'
513 },
514
kjellander3cb0c572016-08-09 13:00:57 -0700515 'tsan': {
516 'gn_args': 'is_tsan=true',
517 'gyp_defines': 'tsan=1',
518 },
519
ehmaldonado09abaa02016-08-09 02:26:16 -0700520 'ubsan': {
521 'gn_args': 'is_ubsan=true',
522 'gyp_defines': 'ubsan=1',
523 },
524
525 'ubsan_vptr': {
526 'gn_args': 'is_ubsan_vptr=true',
527 'gyp_defines': 'ubsan_vptr=1',
528 },
529
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100530 'x64': {
531 'gn_args': 'target_cpu="x64"',
532 'gyp_defines': 'target_arch=x64',
533 },
534
535 'x86': {
536 'gn_args': 'target_cpu="x86"',
537 'gyp_defines': 'target_arch=ia32',
538 },
539 },
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100540}