blob: bd5d6560740dd5313030db12a1d446256a22256a [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
kjellander133edb22016-08-28 20:35:55 -070085 'Win32 Debug': 'gn_debug_bot_x86',
86 'Win32 Release': 'gn_release_bot_x86',
87 'Win64 Debug': 'gn_debug_bot_x64',
88 'Win64 Release': 'gn_release_bot_x64',
89 'Win32 Debug (Clang)': 'win_gn_clang_debug_bot_x86',
90 'Win32 Release (Clang)': 'win_gn_clang_release_bot_x86',
91 'Win64 Debug (Clang)': 'win_gn_clang_debug_bot_x64',
92 'Win64 Release (Clang)': 'win_gn_clang_release_bot_x64',
93 'Win SyzyASan': 'win_gn_syzyasan_release_bot_x86',
94 'Win DrMemory Full': 'win_gn_drmemory_debug_bot_x86',
95 'Win DrMemory Light': 'win_gn_drmemory_debug_bot_x86',
96 'Win32 Release [large tests]': 'gn_release_bot_x86',
97 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
98 # the bots to the GYP versions (duplicated now).
99 'Win64 Debug (GN)': 'gyp_debug_bot_x64_exclude_tests',
100 'Win64 Release (GN)': 'gyp_release_bot_x64_exclude_tests',
101 'Win64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
102 'Win64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod046d982016-08-08 06:59:14 -0700103 },
104 'tryserver.webrtc': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700105 # iOS
kjellander1c814e72016-08-16 02:42:02 -0700106 'ios_dbg': 'ios_gyp_debug_static_bot_arm_device',
kjellander3cb0c572016-08-09 13:00:57 -0700107 'ios_rel': 'ios_gyp_release_bot_arm_device',
kjellander1c814e72016-08-16 02:42:02 -0700108 'ios_arm64_dbg': 'ios_gyp_debug_static_bot_arm64_device',
kjellander3cb0c572016-08-09 13:00:57 -0700109 'ios_arm64_rel': 'ios_gyp_release_bot_arm64_device',
kjellander1c814e72016-08-16 02:42:02 -0700110 'ios32_sim_dbg': 'ios_gyp_debug_static_bot_x86',
111 'ios64_sim_dbg': 'ios_gyp_debug_static_bot_x64',
112 'ios64_gn_dbg': 'ios_gn_debug_static_bot_arm64_device',
kjellander3cb0c572016-08-09 13:00:57 -0700113 'ios64_gn_rel': 'ios_gn_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -0700114
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700115 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700116 'mac_compile_dbg': 'gn_debug_bot_x64',
117 'mac_compile_rel': 'gn_release_bot_x64',
118 'mac_dbg': 'gn_debug_bot_x64',
119 'mac_rel': 'gn_release_bot_x64',
120 'mac_asan': 'mac_gn_asan_clang_release_bot_x64',
121 'mac_baremetal': 'gn_release_bot_x64',
122 'mac_swarming': 'swarming_gn_debug_bot_x64',
123 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
124 # the bots to the GYP versions (duplicated now).
125 'mac_gn_dbg': 'gyp_debug_bot_x64_exclude_tests',
126 'mac_gn_rel': 'gyp_release_bot_x64_exclude_tests',
127 'mac_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
128 'mac_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700129
ehmaldonado09abaa02016-08-09 02:26:16 -0700130 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -0700131 'linux_compile_dbg': 'gn_debug_bot_x64',
132 'linux_compile_rel': 'gn_release_bot_x64',
133 'linux_dbg': 'gn_debug_bot_x64',
134 'linux_rel': 'gn_release_bot_x64',
135 'linux_arm': 'gn_crosscompile_release_bot_arm',
136 'linux_asan': 'gn_asan_lsan_clang_release_bot_x64',
137 'linux_memcheck': 'gn_memcheck_release_bot_x64',
138 'linux_msan': 'gn_msan_clang_release_bot_x64',
139 'linux_tsan2': 'gn_tsan_clang_release_bot_x64',
140 'linux_ubsan': 'gn_ubsan_clang_release_bot_x64',
141 'linux_ubsan_vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
142 'linux_baremetal': 'gn_release_bot_x64',
143 'linux_swarming': 'swarming_gn_debug_bot_x64',
144 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
145 # the bots to the GYP versions (duplicated now).
146 'linux_gn_dbg': 'gyp_debug_bot_x64_exclude_tests',
147 'linux_gn_rel': 'gyp_release_bot_x64_exclude_tests',
148 'linux_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
149 'linux_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -0700150
151 # Android
kjellander4c8adb12016-08-24 00:34:40 -0700152 'android_compile_dbg': 'android_gn_debug_static_bot_arm',
153 'android_compile_rel': 'android_gn_release_bot_arm',
154 'android_compile_arm64_dbg': 'android_gn_debug_static_bot_arm64',
155 'android_compile_arm64_rel': 'android_gn_release_bot_arm64',
156 'android_compile_x86_dbg': 'android_gn_debug_static_bot_x86',
157 'android_compile_x86_rel': 'android_gn_release_bot_x86',
158 'android_compile_x64_dbg': 'android_gn_debug_static_bot_x64',
159 'android_compile_mips_dbg': 'android_gn_clang_debug_static_bot_mipsel',
160 'android_dbg': 'android_gn_debug_static_bot_arm',
161 'android_rel': 'android_gn_release_bot_arm',
162 'android_clang_dbg': 'android_gn_clang_debug_static_bot_arm',
163 'android_arm64_rel': 'android_gn_release_bot_arm64',
164 'android_n6': 'android_gn_debug_static_bot_arm',
165 # TODO(kjellander): Remove the android_gn_* configs as soon we've renamed
166 # the bots to the GYP versions at the tryserver.
167 'android_gn_dbg': 'android_gyp_debug_static_bot_arm',
168 'android_gn_rel': 'android_gyp_release_bot_arm',
169 'android_gyp_dbg': 'android_gyp_debug_static_bot_arm',
170 'android_gyp_rel': 'android_gyp_release_bot_arm',
kjellander0ae78782016-08-11 00:49:47 -0700171
172 # Windows
kjellander133edb22016-08-28 20:35:55 -0700173 'win_compile_dbg': 'gn_debug_bot_x86',
174 'win_compile_rel': 'gn_release_bot_x86',
175 'win_compile_x64_dbg': 'gn_debug_bot_x64',
176 'win_compile_x64_rel': 'gn_release_bot_x64',
177 'win_dbg': 'gn_debug_bot_x86',
178 'win_rel': 'gn_release_bot_x86',
179 'win_x64_dbg': 'gn_debug_bot_x64',
180 'win_x64_rel': 'gn_release_bot_x64',
181 'win_clang_dbg': 'win_gn_clang_debug_bot_x86',
182 'win_clang_rel': 'win_gn_clang_release_bot_x86',
183 'win_x64_clang_dbg': 'win_gn_clang_debug_bot_x64',
184 'win_x64_clang_rel': 'win_gn_clang_release_bot_x64',
185 'win_asan': 'win_gn_syzyasan_release_bot_x86',
186 'win_drmemory_light': 'win_gn_drmemory_debug_bot_x86',
187 'win_drmemory_full': 'win_gn_drmemory_debug_bot_x86',
188 'win_baremetal': 'gn_release_bot_x86',
189 'win_swarming': 'swarming_gn_debug_bot_x64',
190 # TODO(kjellander): Remove the two GN configs below as soon we've renamed
191 # the bots to the GYP versions (duplicated now).
192 'win_x64_gn_dbg': 'gyp_debug_bot_x64_exclude_tests',
193 'win_x64_gn_rel': 'gyp_release_bot_x64_exclude_tests',
194 'win_x64_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
195 'win_x64_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod046d982016-08-08 06:59:14 -0700196 },
197 },
198
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100199 # This is the list of configs that you can pass to mb; each config
200 # represents a particular combination of GYP_DEFINES/gn args that
201 # we must support. A given config *may* be platform-specific but
202 # is not necessarily so (i.e., we might have mac, win, and linux
203 # bots all using the 'gn_release_bot' config).
204 'configs': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700205 # iOS
kjellander1c814e72016-08-16 02:42:02 -0700206 'ios_gn_debug_static_bot_arm64_device': [
207 'ios', 'gn', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700208 ],
209 'ios_gn_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700210 'ios', 'gn', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700211 ],
kjellander1c814e72016-08-16 02:42:02 -0700212 'ios_gyp_debug_static_bot_arm_device': [
213 'ios', 'gyp', 'debug_static_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700214 ],
215 'ios_gyp_release_bot_arm_device': [
kjellander1c814e72016-08-16 02:42:02 -0700216 'ios', 'gyp', 'release_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700217 ],
kjellander1c814e72016-08-16 02:42:02 -0700218 'ios_gyp_debug_static_bot_arm64_device': [
219 'ios', 'gyp', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700220 ],
221 'ios_gyp_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700222 'ios', 'gyp', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700223 ],
kjellander1c814e72016-08-16 02:42:02 -0700224 'ios_gyp_debug_static_bot_x86': [
225 'ios', 'gyp', 'debug_static_bot', 'x86'
ehmaldonadod046d982016-08-08 06:59:14 -0700226 ],
kjellander1c814e72016-08-16 02:42:02 -0700227 'ios_gyp_debug_static_bot_x64': [
228 'ios', 'gyp', 'release_bot', 'x64'
ehmaldonadod046d982016-08-08 06:59:14 -0700229 ],
ehmaldonado09abaa02016-08-09 02:26:16 -0700230
kjellander0ae78782016-08-11 00:49:47 -0700231 # Linux, Mac and Windows
kjellanderfe1d1912016-08-26 06:10:30 -0700232 'gn_crosscompile_release_bot_arm': [
233 'gn', 'crosscompile', 'openh264_release_bot', 'arm'
ehmaldonado09abaa02016-08-09 02:26:16 -0700234 ],
kjellanderf02207d2016-08-24 09:40:00 -0700235 'gyp_debug_bot_x64_exclude_tests': [
236 'gyp', 'openh264_debug_bot', 'x64', 'exclude_tests', 'exclude_examples'
237 ],
kjellanderf02207d2016-08-24 09:40:00 -0700238 'gyp_release_bot_x64_exclude_tests': [
239 'gyp', 'openh264_release_bot', 'x64', 'exclude_tests', 'exclude_examples'
240 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700241 'gn_asan_lsan_clang_release_bot_x64': [
242 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700243 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700244 'gn_memcheck_release_bot_x64': [
245 'gn', 'memcheck', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700246 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700247 'gn_msan_clang_release_bot_x64': [
248 'gn', 'msan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700249 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700250 'gn_tsan_clang_release_bot_x64': [
251 'gn', 'tsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700252 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700253 'gn_ubsan_clang_release_bot_x64': [
254 'gn', 'ubsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700255 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700256 'gn_ubsan_vptr_clang_release_bot_x64': [
257 'gn', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700258 ],
kjellander133edb22016-08-28 20:35:55 -0700259 'gn_debug_bot_x86': [
260 'gn', 'openh264_debug_bot', 'x86'
261 ],
262 'gn_release_bot_x86': [
263 'gn', 'openh264_release_bot', 'x86'
264 ],
kjellander3cb0c572016-08-09 13:00:57 -0700265 'gn_debug_bot_x64': [
266 'gn', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700267 ],
kjellander3cb0c572016-08-09 13:00:57 -0700268 'gn_release_bot_x64': [
269 'gn', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700270 ],
kjellanderf02207d2016-08-24 09:40:00 -0700271 'swarming_gn_debug_bot_x64': [
272 'swarming', 'gn', 'openh264_debug_bot', 'x64'
273 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700274
kjellander0ae78782016-08-11 00:49:47 -0700275 # Windows
kjellander133edb22016-08-28 20:35:55 -0700276 'win_gn_clang_debug_bot_x86': [
277 'gn', 'clang', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700278 ],
kjellander133edb22016-08-28 20:35:55 -0700279 'win_gn_clang_release_bot_x86': [
280 'gn', 'clang', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700281 ],
kjellander133edb22016-08-28 20:35:55 -0700282 'win_gn_clang_debug_bot_x64': [
283 'gn', 'clang', 'openh264_debug_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700284 ],
kjellander133edb22016-08-28 20:35:55 -0700285 'win_gn_clang_release_bot_x64': [
286 'gn', 'clang', 'openh264_release_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700287 ],
kjellander133edb22016-08-28 20:35:55 -0700288 'win_gn_syzyasan_release_bot_x86': [
289 'gn', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700290 ],
291 # TODO(kjellander): Flip DrMemory bots over to Release after GN migration
292 # (http://crbug.com/636414).
kjellander133edb22016-08-28 20:35:55 -0700293 'win_gn_drmemory_debug_bot_x86': [
294 'gn', 'drmemory', 'minimal_symbols', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700295 ],
296
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700297 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700298 'mac_gn_asan_clang_release_bot_x64': [
299 'gn', 'asan', 'clang', 'openh264_release_bot', 'x64',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700300 ],
301
ehmaldonado89b0ca82016-08-09 08:15:03 -0700302 # Android
kjellander68815bf2016-08-10 09:49:37 -0700303 'android_gyp_debug_static_bot_arm': [
ehmaldonado7a0ff2f2016-08-24 06:09:17 -0700304 'android', 'gyp', 'debug_static_bot', 'arm', 'exclude_tests',
305 'exclude_examples'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700306 ],
kjellander3cb0c572016-08-09 13:00:57 -0700307 'android_gyp_release_bot_arm': [
ehmaldonado7a0ff2f2016-08-24 06:09:17 -0700308 'android', 'gyp', 'release_bot', 'arm', 'exclude_tests',
309 'exclude_examples'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700310 ],
kjellander68815bf2016-08-10 09:49:37 -0700311 'android_gn_debug_static_bot_arm': [
312 'android', 'gn', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700313 ],
kjellander3cb0c572016-08-09 13:00:57 -0700314 'android_gn_release_bot_arm': [
315 'android', 'gn', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700316 ],
kjellander4c8adb12016-08-24 00:34:40 -0700317 'android_gn_debug_static_bot_x86': [
318 'android', 'gn', 'debug_static_bot', 'x86'
319 ],
320 'android_gn_release_bot_x86': [
321 'android', 'gn', 'release_bot', 'x86'
322 ],
323 'android_gn_clang_debug_static_bot_arm': [
324 'android', 'gn', 'clang', 'debug_static_bot', 'arm'
325 ],
326 'android_gn_clang_debug_static_bot_mipsel': [
327 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel'
328 ],
329 'android_gn_debug_static_bot_arm64': [
330 'android', 'gn', 'debug_static_bot', 'arm64'
331 ],
332 'android_gn_release_bot_arm64': [
333 'android', 'gn', 'release_bot', 'arm64'
334 ],
335 'android_gn_debug_static_bot_x64': [
336 'android', 'gn', 'debug_static_bot', 'x64'
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
ehmaldonado7a0ff2f2016-08-24 06:09:17 -0700418 'exclude_examples': {
419 'gyp_defines': 'include_examples=0',
420 },
421
422 'exclude_tests': {
423 'gn_args': 'rtc_include_tests=false',
424 'gyp_defines': 'include_tests=0',
425 },
426
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100427 'gn': {'type': 'gn'},
428
ehmaldonado09abaa02016-08-09 02:26:16 -0700429 'goma': {
430 # The MB code will properly escape goma_dir if necessary in the GYP
431 # code path; the GN code path needs no escaping.
432 'gn_args': 'use_goma=true',
433 'gyp_defines': 'use_goma=1',
434 },
435
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100436 'gyp': {'type': 'gyp'},
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}