blob: 82c3832a1441a28eb68f6ca47eaacdaf3c7de139 [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
ehmaldonado76cd2812016-09-08 04:25:22 -070041 'Linux32 Debug': 'gn_debug_bot_x86',
42 'Linux32 Release': 'gn_release_bot_x86',
kjellanderfe1d1912016-08-26 06:10:30 -070043 'Linux32 ARM': 'gn_crosscompile_release_bot_arm',
44 'Linux64 Debug': 'gn_debug_bot_x64',
45 'Linux64 Release': 'gn_release_bot_x64',
46 'Linux Asan': 'gn_asan_lsan_clang_release_bot_x64',
47 'Linux Memcheck': 'gn_memcheck_release_bot_x64',
48 'Linux MSan': 'gn_msan_clang_release_bot_x64',
49 'Linux Tsan v2': 'gn_tsan_clang_release_bot_x64',
50 'Linux UBSan': 'gn_ubsan_clang_release_bot_x64',
51 'Linux UBSan vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
52 'Linux64 Release [large tests]': 'gn_release_bot_x64',
kjellanderfe1d1912016-08-26 06:10:30 -070053 'Linux64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
54 'Linux64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -070055
56 # Android
kjellander4c8adb12016-08-24 00:34:40 -070057 'Android32 Builder': 'android_gn_release_bot_arm',
58 'Android32 Builder (dbg)': 'android_gn_debug_static_bot_arm',
59 'Android32 Builder x86': 'android_gn_release_bot_x86',
60 'Android32 Builder x86 (dbg)': 'android_gn_debug_static_bot_x86',
61 'Android32 Builder MIPS (dbg)': 'android_gn_clang_debug_static_bot_mipsel',
kjellander70d01242016-09-15 03:42:29 -070062 'Android32 Clang (dbg)': 'android_gn_clang_debug_bot_arm',
kjellander4c8adb12016-08-24 00:34:40 -070063 'Android64 Builder': 'android_gn_release_bot_arm64',
64 'Android64 Builder (dbg)': 'android_gn_debug_static_bot_arm64',
65 'Android64 Builder x64 (dbg)': 'android_gn_debug_static_bot_x64',
kjellander4c8adb12016-08-24 00:34:40 -070066 'Android32 GYP': 'android_gyp_release_bot_arm',
67 'Android32 GYP (dbg)': 'android_gyp_debug_static_bot_arm',
ehmaldonado89b0ca82016-08-09 08:15:03 -070068 'Android32 Tests (L Nexus5)(dbg)': 'none',
69 'Android32 Tests (L Nexus5)': 'none',
70 'Android32 Tests (L Nexus7.2)(dbg)': 'none',
71 'Android32 Tests (L Nexus7.2)': 'none',
72 'Android64 Tests (L Nexus9)': 'none',
kjellander0ae78782016-08-11 00:49:47 -070073
74 # Windows
kjellander133edb22016-08-28 20:35:55 -070075 'Win32 Debug': 'gn_debug_bot_x86',
76 'Win32 Release': 'gn_release_bot_x86',
77 'Win64 Debug': 'gn_debug_bot_x64',
78 'Win64 Release': 'gn_release_bot_x64',
79 'Win32 Debug (Clang)': 'win_gn_clang_debug_bot_x86',
80 'Win32 Release (Clang)': 'win_gn_clang_release_bot_x86',
81 'Win64 Debug (Clang)': 'win_gn_clang_debug_bot_x64',
82 'Win64 Release (Clang)': 'win_gn_clang_release_bot_x64',
83 'Win SyzyASan': 'win_gn_syzyasan_release_bot_x86',
84 'Win DrMemory Full': 'win_gn_drmemory_debug_bot_x86',
85 'Win DrMemory Light': 'win_gn_drmemory_debug_bot_x86',
86 'Win32 Release [large tests]': 'gn_release_bot_x86',
kjellander133edb22016-08-28 20:35:55 -070087 'Win64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
88 'Win64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod046d982016-08-08 06:59:14 -070089 },
90 'tryserver.webrtc': {
ehmaldonado09abaa02016-08-09 02:26:16 -070091 # iOS
kjellander6e5b0d72016-08-30 14:05:44 -070092 'ios_dbg': 'ios_gn_debug_static_bot_arm_device',
93 'ios_rel': 'ios_gn_release_bot_arm_device',
94 'ios_arm64_dbg': 'ios_gn_debug_static_bot_arm64_device',
95 'ios_arm64_rel': 'ios_gn_release_bot_arm64_device',
96 'ios32_sim_dbg': 'ios_gn_debug_static_bot_x86',
97 'ios64_sim_dbg': 'ios_gn_debug_static_bot_x64',
kjellander6e5b0d72016-08-30 14:05:44 -070098 'ios64_gyp_dbg': 'ios_gyp_debug_static_bot_arm64_device',
99 'ios64_gyp_rel': 'ios_gyp_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -0700100
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700101 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700102 'mac_compile_dbg': 'gn_debug_bot_x64',
103 'mac_compile_rel': 'gn_release_bot_x64',
104 'mac_dbg': 'gn_debug_bot_x64',
105 'mac_rel': 'gn_release_bot_x64',
106 'mac_asan': 'mac_gn_asan_clang_release_bot_x64',
107 'mac_baremetal': 'gn_release_bot_x64',
108 'mac_swarming': 'swarming_gn_debug_bot_x64',
kjellanderf02207d2016-08-24 09:40:00 -0700109 'mac_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
110 'mac_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700111
ehmaldonado09abaa02016-08-09 02:26:16 -0700112 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -0700113 'linux_compile_dbg': 'gn_debug_bot_x64',
114 'linux_compile_rel': 'gn_release_bot_x64',
115 'linux_dbg': 'gn_debug_bot_x64',
116 'linux_rel': 'gn_release_bot_x64',
Henrik Kjellander891eaac2016-09-06 09:52:45 +0200117 'linux32_dbg': 'gn_debug_bot_x86',
118 'linux32_rel': 'gn_release_bot_x86',
kjellanderfe1d1912016-08-26 06:10:30 -0700119 'linux_arm': 'gn_crosscompile_release_bot_arm',
120 'linux_asan': 'gn_asan_lsan_clang_release_bot_x64',
121 'linux_memcheck': 'gn_memcheck_release_bot_x64',
122 'linux_msan': 'gn_msan_clang_release_bot_x64',
123 'linux_tsan2': 'gn_tsan_clang_release_bot_x64',
124 'linux_ubsan': 'gn_ubsan_clang_release_bot_x64',
125 'linux_ubsan_vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
126 'linux_baremetal': 'gn_release_bot_x64',
127 'linux_swarming': 'swarming_gn_debug_bot_x64',
kjellanderfe1d1912016-08-26 06:10:30 -0700128 'linux_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
129 'linux_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -0700130
131 # Android
kjellander4c8adb12016-08-24 00:34:40 -0700132 'android_compile_dbg': 'android_gn_debug_static_bot_arm',
133 'android_compile_rel': 'android_gn_release_bot_arm',
134 'android_compile_arm64_dbg': 'android_gn_debug_static_bot_arm64',
135 'android_compile_arm64_rel': 'android_gn_release_bot_arm64',
136 'android_compile_x86_dbg': 'android_gn_debug_static_bot_x86',
137 'android_compile_x86_rel': 'android_gn_release_bot_x86',
138 'android_compile_x64_dbg': 'android_gn_debug_static_bot_x64',
139 'android_compile_mips_dbg': 'android_gn_clang_debug_static_bot_mipsel',
140 'android_dbg': 'android_gn_debug_static_bot_arm',
141 'android_rel': 'android_gn_release_bot_arm',
kjellander70d01242016-09-15 03:42:29 -0700142 'android_clang_dbg': 'android_gn_clang_debug_bot_arm',
kjellander4c8adb12016-08-24 00:34:40 -0700143 'android_arm64_rel': 'android_gn_release_bot_arm64',
144 'android_n6': 'android_gn_debug_static_bot_arm',
kjellander4c8adb12016-08-24 00:34:40 -0700145 'android_gyp_dbg': 'android_gyp_debug_static_bot_arm',
146 'android_gyp_rel': 'android_gyp_release_bot_arm',
kjellander0ae78782016-08-11 00:49:47 -0700147
148 # Windows
kjellander133edb22016-08-28 20:35:55 -0700149 'win_compile_dbg': 'gn_debug_bot_x86',
150 'win_compile_rel': 'gn_release_bot_x86',
151 'win_compile_x64_dbg': 'gn_debug_bot_x64',
152 'win_compile_x64_rel': 'gn_release_bot_x64',
153 'win_dbg': 'gn_debug_bot_x86',
154 'win_rel': 'gn_release_bot_x86',
155 'win_x64_dbg': 'gn_debug_bot_x64',
156 'win_x64_rel': 'gn_release_bot_x64',
157 'win_clang_dbg': 'win_gn_clang_debug_bot_x86',
158 'win_clang_rel': 'win_gn_clang_release_bot_x86',
159 'win_x64_clang_dbg': 'win_gn_clang_debug_bot_x64',
160 'win_x64_clang_rel': 'win_gn_clang_release_bot_x64',
161 'win_asan': 'win_gn_syzyasan_release_bot_x86',
162 'win_drmemory_light': 'win_gn_drmemory_debug_bot_x86',
163 'win_drmemory_full': 'win_gn_drmemory_debug_bot_x86',
164 'win_baremetal': 'gn_release_bot_x86',
165 'win_swarming': 'swarming_gn_debug_bot_x64',
kjellander133edb22016-08-28 20:35:55 -0700166 'win_x64_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
167 'win_x64_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod046d982016-08-08 06:59:14 -0700168 },
ehmaldonadod6e65b32016-09-05 06:43:56 -0700169 'client.webrtc.fyi': {
170 # Mac
171 'Mac64 Release (swarming)': 'swarming_gn_release_bot_x64',
172
173 # Linux
ehmaldonadod6e65b32016-09-05 06:43:56 -0700174 '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': [
kjellander7b11c652016-09-12 05:33:54 -0700215 'ios', 'gyp', 'gyp_limited_support_build', 'debug_static_bot', 'arm64',
216 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700217 ],
218 'ios_gyp_release_bot_arm64_device': [
kjellander7b11c652016-09-12 05:33:54 -0700219 'ios', 'gyp', 'gyp_limited_support_build', 'release_bot', 'arm64',
220 'device'
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
ehmaldonadod6e65b32016-09-05 06:43:56 -0700224 'gn_gcc_release_bot_x64': [
225 'gn', 'gcc', 'release_bot', 'x64'
226 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700227 'gn_crosscompile_release_bot_arm': [
228 'gn', 'crosscompile', 'openh264_release_bot', 'arm'
ehmaldonado09abaa02016-08-09 02:26:16 -0700229 ],
kjellanderf02207d2016-08-24 09:40:00 -0700230 'gyp_debug_bot_x64_exclude_tests': [
ehmaldonado6b748652016-08-31 01:53:42 -0700231 'gyp', 'gyp_limited_support_build', 'debug_bot', 'x64'
kjellanderf02207d2016-08-24 09:40:00 -0700232 ],
kjellanderf02207d2016-08-24 09:40:00 -0700233 'gyp_release_bot_x64_exclude_tests': [
ehmaldonado6b748652016-08-31 01:53:42 -0700234 'gyp', 'gyp_limited_support_build', 'release_bot', 'x64'
kjellanderf02207d2016-08-24 09:40:00 -0700235 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700236 'gn_asan_lsan_clang_release_bot_x64': [
237 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700238 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700239 'gn_memcheck_release_bot_x64': [
240 'gn', 'memcheck', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700241 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700242 'gn_msan_clang_release_bot_x64': [
243 'gn', 'msan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700244 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700245 'gn_tsan_clang_release_bot_x64': [
246 'gn', 'tsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700247 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700248 'gn_ubsan_clang_release_bot_x64': [
249 'gn', 'ubsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700250 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700251 'gn_ubsan_vptr_clang_release_bot_x64': [
252 'gn', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700253 ],
kjellander133edb22016-08-28 20:35:55 -0700254 'gn_debug_bot_x86': [
255 'gn', 'openh264_debug_bot', 'x86'
256 ],
257 'gn_release_bot_x86': [
258 'gn', 'openh264_release_bot', 'x86'
259 ],
kjellander3cb0c572016-08-09 13:00:57 -0700260 'gn_debug_bot_x64': [
261 'gn', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700262 ],
kjellander3cb0c572016-08-09 13:00:57 -0700263 'gn_release_bot_x64': [
264 'gn', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700265 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700266 'swarming_gn_release_bot_x86': [
267 'swarming', 'gn', 'openh264_release_bot', 'x86'
268 ],
kjellanderf02207d2016-08-24 09:40:00 -0700269 'swarming_gn_debug_bot_x64': [
270 'swarming', 'gn', 'openh264_debug_bot', 'x64'
271 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700272 'swarming_gn_release_bot_x64': [
273 'swarming', 'gn', 'openh264_release_bot', 'x64'
274 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700275
kjellander0ae78782016-08-11 00:49:47 -0700276 # Windows
kjellander133edb22016-08-28 20:35:55 -0700277 'win_gn_clang_debug_bot_x86': [
278 'gn', 'clang', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700279 ],
kjellander133edb22016-08-28 20:35:55 -0700280 'win_gn_clang_release_bot_x86': [
281 'gn', 'clang', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700282 ],
kjellander133edb22016-08-28 20:35:55 -0700283 'win_gn_clang_debug_bot_x64': [
284 'gn', 'clang', 'openh264_debug_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700285 ],
kjellander133edb22016-08-28 20:35:55 -0700286 'win_gn_clang_release_bot_x64': [
287 'gn', 'clang', 'openh264_release_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700288 ],
kjellander133edb22016-08-28 20:35:55 -0700289 'win_gn_syzyasan_release_bot_x86': [
290 'gn', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700291 ],
292 # TODO(kjellander): Flip DrMemory bots over to Release after GN migration
293 # (http://crbug.com/636414).
kjellander133edb22016-08-28 20:35:55 -0700294 'win_gn_drmemory_debug_bot_x86': [
295 'gn', 'drmemory', 'minimal_symbols', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700296 ],
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': [
ehmaldonado6b748652016-08-31 01:53:42 -0700305 'android', 'gyp', 'gyp_limited_support_build', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700306 ],
kjellander3cb0c572016-08-09 13:00:57 -0700307 'android_gyp_release_bot_arm': [
ehmaldonado6b748652016-08-31 01:53:42 -0700308 'android', 'gyp', 'gyp_limited_support_build', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700309 ],
kjellander68815bf2016-08-10 09:49:37 -0700310 'android_gn_debug_static_bot_arm': [
311 'android', 'gn', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700312 ],
kjellander3cb0c572016-08-09 13:00:57 -0700313 'android_gn_release_bot_arm': [
314 'android', 'gn', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700315 ],
kjellander4c8adb12016-08-24 00:34:40 -0700316 'android_gn_debug_static_bot_x86': [
317 'android', 'gn', 'debug_static_bot', 'x86'
318 ],
319 'android_gn_release_bot_x86': [
320 'android', 'gn', 'release_bot', 'x86'
321 ],
kjellander70d01242016-09-15 03:42:29 -0700322 'android_gn_clang_debug_bot_arm': [
323 'android', 'gn', 'clang', 'debug_bot', 'arm'
kjellander4c8adb12016-08-24 00:34:40 -0700324 ],
325 'android_gn_clang_debug_static_bot_mipsel': [
326 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel'
327 ],
328 'android_gn_debug_static_bot_arm64': [
329 'android', 'gn', 'debug_static_bot', 'arm64'
330 ],
331 'android_gn_release_bot_arm64': [
332 'android', 'gn', 'release_bot', 'arm64'
333 ],
334 'android_gn_debug_static_bot_x64': [
335 'android', 'gn', 'debug_static_bot', 'x64'
336 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700337 'android_gn_asan_shared_release_bot_arm': [
338 'android', 'gn', 'asan', 'clang', 'shared', 'release_bot', 'arm'
339 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700340
341 # This is used for tracking purposes; any bot that uses this config
342 # should never actually run MB.
343 'none': [
344 'error',
345 ],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100346 },
347
348 # This is a dict mapping a given 'mixin' name to a dict of settings that
349 # mb should use. See //tools/mb/docs/user_guide.md for more information.
350 'mixins': {
ehmaldonado89b0ca82016-08-09 08:15:03 -0700351 'android': {
352 'gn_args': 'target_os="android"',
353 'gyp_defines': 'OS=android',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100354 },
355
356 'arm': {
357 'gn_args': 'target_cpu="arm"',
358 'gyp_defines': 'target_arch=arm',
359 },
360
361 'arm64': {
362 'gn_args': 'target_cpu="arm64"',
363 'gyp_defines': 'target_arch=arm64',
364 },
365
ehmaldonado09abaa02016-08-09 02:26:16 -0700366 'asan': {
367 'gn_args': 'is_asan=true',
368 'gyp_defines': 'asan=1',
369 },
370
371 'clang': {
372 'gn_args': 'is_clang=true',
373 'gyp_defines': 'clang=1',
374 },
375
kjellander5d6b84c2016-08-09 13:17:40 -0700376 'crosscompile': {
377 # This mixin is only needed on GYP bots that are doing cross-compiles
378 # but are *not* targetting Android or iOS (where
379 # webrtc/build/gyp_webrtc.py will set the crosscompile variable
380 # automatically). It is not need in GN at all.
381 'gyp_crosscompile': True,
382 },
383
ehmaldonado09abaa02016-08-09 02:26:16 -0700384 'dcheck_always_on': {
385 'gn_args': 'dcheck_always_on=true',
386 'gyp_defines': 'dcheck_always_on=1',
387 },
388
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100389 'debug': {
390 'gn_args': 'is_debug=true',
391 },
392
393 'debug_bot': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700394 'mixins': ['debug', 'shared', 'goma'],
395 },
396
kjellander68815bf2016-08-10 09:49:37 -0700397 'debug_static_bot': {
398 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
399 },
400
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100401 'device': {
kjellander@webrtc.org0c74ae12016-02-25 08:41:10 +0100402 'gn_args': 'ios_enable_code_signing=false',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100403 'gyp_defines': 'chromium_ios_signing=0',
404 },
405
kjellander0ae78782016-08-11 00:49:47 -0700406 'drmemory': {
407 'gn_args': 'is_component_build=true enable_iterator_debugging=false',
408 'gyp_defines': 'component=shared_library build_for_tool=drmemory',
409 },
410
ehmaldonado89b0ca82016-08-09 08:15:03 -0700411 # This mixin is used to force configs that use it to fail. It
412 # is used in two cases: when we have bots that we haven't looked
413 # at yet and don't know whether they need MB or not, and for bots
414 # that are test-only and should never run MB.
415 'error': {
416 'gn_args': 'error',
417 'gyp_defines': 'target_arch=unknown',
418 },
419
ehmaldonadod6e65b32016-09-05 06:43:56 -0700420 'gcc': {
421 'gn_args': 'is_clang=false use_sysroot=false',
422 'gyp_defines': 'clang=0',
423 },
424
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100425 'gn': {'type': 'gn'},
426
ehmaldonado09abaa02016-08-09 02:26:16 -0700427 'goma': {
428 # The MB code will properly escape goma_dir if necessary in the GYP
429 # code path; the GN code path needs no escaping.
430 'gn_args': 'use_goma=true',
431 'gyp_defines': 'use_goma=1',
432 },
433
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100434 'gyp': {'type': 'gyp'},
435
ehmaldonado6b748652016-08-31 01:53:42 -0700436 'gyp_limited_support_build': {
kjellander9c8c5862016-09-09 01:42:06 -0700437 'gyp_defines': (
438 'include_examples=0 include_tests=0 include_ilbc=0 '
439 'build_expat=0 build_json=0 build_libevent=0 build_libjpeg=0 '
440 'build_libsrtp=0 build_libvpx=0 build_libyuv=0 build_openmax_dl=0 '
441 'build_opus=0 build_protobuf=0 build_ssl=0 build_usrsctp=0 '
442 'enable_video=0 linux_use_bundled_binutils=0 rtc_use_openmax_dl=1 '
443 'use_openssl=1 use_x11=0 use_gtk=0'),
ehmaldonado6b748652016-08-31 01:53:42 -0700444 },
445
ehmaldonado89b0ca82016-08-09 08:15:03 -0700446 'ios': {
447 'gn_args': 'target_os="ios"',
448 'gyp_defines': 'OS=ios',
449 },
450
ehmaldonado09abaa02016-08-09 02:26:16 -0700451 'lsan': {
452 'gn_args': 'is_lsan=true',
453 'gyp_defines': 'lsan=1',
454 },
455
456 'memcheck': {
457 'gyp_defines': 'build_for_tool=memcheck',
458 },
459
kjellander68815bf2016-08-10 09:49:37 -0700460 'minimal_symbols': {
461 'gn_args': 'symbol_level=1',
462 'gyp_defines': 'fastbuild=1',
463 },
464
ehmaldonado89b0ca82016-08-09 08:15:03 -0700465 'mipsel': {
466 'gn_args': 'target_cpu="mipsel"',
467 'gyp_defines': 'target_arch=mipsel',
468 },
469
kjellander0ae78782016-08-11 00:49:47 -0700470 'minimal_symbols': {
471 'gn_args': 'symbol_level=1',
472 'gyp_defines': 'fastbuild=1',
473 },
474
ehmaldonado09abaa02016-08-09 02:26:16 -0700475 'msan': {
476 'gn_args': ('is_msan=true msan_track_origins=2 '
477 'use_prebuilt_instrumented_libraries=true'),
478 'gyp_defines': ('msan=1 msan_track_origins=2 '
479 'use_prebuilt_instrumented_libraries=1'),
480 },
481
ehmaldonado09abaa02016-08-09 02:26:16 -0700482 'openh264': {
483 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true',
484 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1',
485 },
486
kjellander3cb0c572016-08-09 13:00:57 -0700487 'openh264_debug_bot': {
488 'mixins': ['openh264', 'debug_bot'],
489 },
490
491 'openh264_release_bot': {
492 'mixins': ['openh264', 'release_bot'],
493 },
494
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100495 'release': {
496 'gn_args': 'is_debug=false',
497 },
498
499 'release_bot': {
kjellander3cb0c572016-08-09 13:00:57 -0700500 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100501 },
502
503 'shared': {
504 'gn_args': 'is_component_build=true',
505 'gyp_defines': 'component=shared_library',
506 },
507
508 'static': {
509 'gn_args': 'is_component_build=false',
510 'gyp_defines': 'component=static_library',
511 },
512
ehmaldonado09abaa02016-08-09 02:26:16 -0700513 'swarming': {
514 'gn_args': '',
515 'gyp_defines': 'test_isolation_mode=prepare',
516 },
517
kjellander0ae78782016-08-11 00:49:47 -0700518 'syzyasan': {
519 'gn_args': 'is_syzyasan=true',
520 'gyp_defines': 'syzyasan=1'
521 },
522
kjellander3cb0c572016-08-09 13:00:57 -0700523 'tsan': {
524 'gn_args': 'is_tsan=true',
525 'gyp_defines': 'tsan=1',
526 },
527
ehmaldonado09abaa02016-08-09 02:26:16 -0700528 'ubsan': {
529 'gn_args': 'is_ubsan=true',
530 'gyp_defines': 'ubsan=1',
531 },
532
533 'ubsan_vptr': {
534 'gn_args': 'is_ubsan_vptr=true',
535 'gyp_defines': 'ubsan_vptr=1',
536 },
537
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100538 'x64': {
539 'gn_args': 'target_cpu="x64"',
540 'gyp_defines': 'target_arch=x64',
541 },
542
543 'x86': {
544 'gn_args': 'target_cpu="x86"',
545 'gyp_defines': 'target_arch=ia32',
546 },
547 },
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100548}