blob: ce60cbc70ea72e11d33c3df03885787be6fdb6e7 [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
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020057 'Android32 (M Nexus5X)': 'android_gn_release_bot_arm',
58 'Android32 (M Nexus5X)(dbg)': 'android_gn_debug_static_bot_arm',
59 'Android64 (M Nexus5X)': 'android_gn_release_bot_arm64',
60 'Android64 (M Nexus5X)(dbg)': 'android_gn_debug_static_bot_arm64',
kjellander4c8adb12016-08-24 00:34:40 -070061 'Android32 Builder x86': 'android_gn_release_bot_x86',
62 'Android32 Builder x86 (dbg)': 'android_gn_debug_static_bot_x86',
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020063 'Android64 Builder x64 (dbg)': 'android_gn_debug_static_bot_x64',
kjellander4c8adb12016-08-24 00:34:40 -070064 'Android32 Builder MIPS (dbg)': 'android_gn_clang_debug_static_bot_mipsel',
kjellander70d01242016-09-15 03:42:29 -070065 'Android32 Clang (dbg)': 'android_gn_clang_debug_bot_arm',
kjellander4c8adb12016-08-24 00:34:40 -070066 'Android32 GYP': 'android_gyp_release_bot_arm',
67 'Android32 GYP (dbg)': 'android_gyp_debug_static_bot_arm',
kjellander0ae78782016-08-11 00:49:47 -070068
69 # Windows
kjellander133edb22016-08-28 20:35:55 -070070 'Win32 Debug': 'gn_debug_bot_x86',
71 'Win32 Release': 'gn_release_bot_x86',
72 'Win64 Debug': 'gn_debug_bot_x64',
73 'Win64 Release': 'gn_release_bot_x64',
74 'Win32 Debug (Clang)': 'win_gn_clang_debug_bot_x86',
75 'Win32 Release (Clang)': 'win_gn_clang_release_bot_x86',
76 'Win64 Debug (Clang)': 'win_gn_clang_debug_bot_x64',
77 'Win64 Release (Clang)': 'win_gn_clang_release_bot_x64',
78 'Win SyzyASan': 'win_gn_syzyasan_release_bot_x86',
79 'Win DrMemory Full': 'win_gn_drmemory_debug_bot_x86',
80 'Win DrMemory Light': 'win_gn_drmemory_debug_bot_x86',
81 'Win32 Release [large tests]': 'gn_release_bot_x86',
kjellander133edb22016-08-28 20:35:55 -070082 'Win64 Debug (GYP)': 'gyp_debug_bot_x64_exclude_tests',
83 'Win64 Release (GYP)': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod046d982016-08-08 06:59:14 -070084 },
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020085 'client.webrtc.perf': {
86 # Android
87 'Android32 Builder': 'android_gn_release_bot_arm',
88 'Android64 Builder': 'android_gn_release_bot_arm64',
89 'Android32 Tests (L Nexus5)': 'none',
90 'Android32 Tests (L Nexus7.2)': 'none',
91 'Android64 Tests (L Nexus9)': 'none',
92 },
93 'client.webrtc.fyi': {
94 # Mac
95 'Mac64 Release (swarming)': 'swarming_gn_release_bot_x64',
96
97 # Linux
98 'Linux64 GCC': 'gn_gcc_release_bot_x64',
99 'Linux64 Release (swarming)': 'swarming_gn_release_bot_x64',
100
101 # Android
102 'Android32 Release (swarming)': 'swarming_android_gn_release_bot_arm',
103 'Android32 ASan (L Nexus6)': 'android_gn_asan_shared_release_bot_arm',
104 'Android32 Builder': 'android_gn_release_bot_arm',
105 'Android32 Tests (J Nexus4)': 'none',
106 'Android32 Tests (K Nexus5)': 'none',
107 'Android32 Tests (L Nexus6)': 'none',
108
109 # Windows
110 'Win32 Release (swarming)': 'swarming_gn_release_bot_x86',
111 },
ehmaldonadod046d982016-08-08 06:59:14 -0700112 'tryserver.webrtc': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700113 # iOS
kjellander6e5b0d72016-08-30 14:05:44 -0700114 'ios_dbg': 'ios_gn_debug_static_bot_arm_device',
115 'ios_rel': 'ios_gn_release_bot_arm_device',
116 'ios_arm64_dbg': 'ios_gn_debug_static_bot_arm64_device',
117 'ios_arm64_rel': 'ios_gn_release_bot_arm64_device',
118 'ios32_sim_dbg': 'ios_gn_debug_static_bot_x86',
119 'ios64_sim_dbg': 'ios_gn_debug_static_bot_x64',
kjellander6e5b0d72016-08-30 14:05:44 -0700120 'ios64_gyp_dbg': 'ios_gyp_debug_static_bot_arm64_device',
121 'ios64_gyp_rel': 'ios_gyp_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -0700122
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700123 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700124 'mac_compile_dbg': 'gn_debug_bot_x64',
125 'mac_compile_rel': 'gn_release_bot_x64',
126 'mac_dbg': 'gn_debug_bot_x64',
127 'mac_rel': 'gn_release_bot_x64',
128 'mac_asan': 'mac_gn_asan_clang_release_bot_x64',
129 'mac_baremetal': 'gn_release_bot_x64',
130 'mac_swarming': 'swarming_gn_debug_bot_x64',
kjellanderf02207d2016-08-24 09:40:00 -0700131 'mac_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
132 'mac_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700133
ehmaldonado09abaa02016-08-09 02:26:16 -0700134 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -0700135 'linux_compile_dbg': 'gn_debug_bot_x64',
136 'linux_compile_rel': 'gn_release_bot_x64',
137 'linux_dbg': 'gn_debug_bot_x64',
138 'linux_rel': 'gn_release_bot_x64',
Henrik Kjellander891eaac2016-09-06 09:52:45 +0200139 'linux32_dbg': 'gn_debug_bot_x86',
140 'linux32_rel': 'gn_release_bot_x86',
kjellanderfe1d1912016-08-26 06:10:30 -0700141 'linux_arm': 'gn_crosscompile_release_bot_arm',
142 'linux_asan': 'gn_asan_lsan_clang_release_bot_x64',
143 'linux_memcheck': 'gn_memcheck_release_bot_x64',
144 'linux_msan': 'gn_msan_clang_release_bot_x64',
145 'linux_tsan2': 'gn_tsan_clang_release_bot_x64',
146 'linux_ubsan': 'gn_ubsan_clang_release_bot_x64',
147 'linux_ubsan_vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
148 'linux_baremetal': 'gn_release_bot_x64',
149 'linux_swarming': 'swarming_gn_debug_bot_x64',
kjellanderfe1d1912016-08-26 06:10:30 -0700150 'linux_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
151 'linux_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonado89b0ca82016-08-09 08:15:03 -0700152
153 # Android
kjellander4c8adb12016-08-24 00:34:40 -0700154 'android_compile_dbg': 'android_gn_debug_static_bot_arm',
155 'android_compile_rel': 'android_gn_release_bot_arm',
156 'android_compile_arm64_dbg': 'android_gn_debug_static_bot_arm64',
157 'android_compile_arm64_rel': 'android_gn_release_bot_arm64',
158 'android_compile_x86_dbg': 'android_gn_debug_static_bot_x86',
159 'android_compile_x86_rel': 'android_gn_release_bot_x86',
160 'android_compile_x64_dbg': 'android_gn_debug_static_bot_x64',
161 'android_compile_mips_dbg': 'android_gn_clang_debug_static_bot_mipsel',
162 'android_dbg': 'android_gn_debug_static_bot_arm',
163 'android_rel': 'android_gn_release_bot_arm',
kjellander70d01242016-09-15 03:42:29 -0700164 'android_clang_dbg': 'android_gn_clang_debug_bot_arm',
kjellander4c8adb12016-08-24 00:34:40 -0700165 'android_arm64_rel': 'android_gn_release_bot_arm64',
166 'android_n6': 'android_gn_debug_static_bot_arm',
kjellander4c8adb12016-08-24 00:34:40 -0700167 'android_gyp_dbg': 'android_gyp_debug_static_bot_arm',
168 'android_gyp_rel': 'android_gyp_release_bot_arm',
ehmaldonado936405b2016-09-19 13:30:04 -0700169 'android_swarming': 'swarming_android_gn_release_bot_arm',
kjellander0ae78782016-08-11 00:49:47 -0700170
171 # Windows
kjellander133edb22016-08-28 20:35:55 -0700172 'win_compile_dbg': 'gn_debug_bot_x86',
173 'win_compile_rel': 'gn_release_bot_x86',
174 'win_compile_x64_dbg': 'gn_debug_bot_x64',
175 'win_compile_x64_rel': 'gn_release_bot_x64',
176 'win_dbg': 'gn_debug_bot_x86',
177 'win_rel': 'gn_release_bot_x86',
178 'win_x64_dbg': 'gn_debug_bot_x64',
179 'win_x64_rel': 'gn_release_bot_x64',
180 'win_clang_dbg': 'win_gn_clang_debug_bot_x86',
181 'win_clang_rel': 'win_gn_clang_release_bot_x86',
182 'win_x64_clang_dbg': 'win_gn_clang_debug_bot_x64',
183 'win_x64_clang_rel': 'win_gn_clang_release_bot_x64',
184 'win_asan': 'win_gn_syzyasan_release_bot_x86',
185 'win_drmemory_light': 'win_gn_drmemory_debug_bot_x86',
186 'win_drmemory_full': 'win_gn_drmemory_debug_bot_x86',
187 'win_baremetal': 'gn_release_bot_x86',
188 'win_swarming': 'swarming_gn_debug_bot_x64',
kjellander133edb22016-08-28 20:35:55 -0700189 'win_x64_gyp_dbg': 'gyp_debug_bot_x64_exclude_tests',
190 'win_x64_gyp_rel': 'gyp_release_bot_x64_exclude_tests',
ehmaldonadod6e65b32016-09-05 06:43:56 -0700191 }
ehmaldonadod046d982016-08-08 06:59:14 -0700192 },
193
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100194 # This is the list of configs that you can pass to mb; each config
195 # represents a particular combination of GYP_DEFINES/gn args that
196 # we must support. A given config *may* be platform-specific but
197 # is not necessarily so (i.e., we might have mac, win, and linux
198 # bots all using the 'gn_release_bot' config).
199 'configs': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700200 # iOS
kjellander1c814e72016-08-16 02:42:02 -0700201 'ios_gn_debug_static_bot_arm64_device': [
202 'ios', 'gn', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700203 ],
204 'ios_gn_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700205 'ios', 'gn', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700206 ],
kjellander6e5b0d72016-08-30 14:05:44 -0700207 'ios_gn_debug_static_bot_arm_device': [
208 'ios', 'gn', 'debug_static_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700209 ],
kjellander6e5b0d72016-08-30 14:05:44 -0700210 'ios_gn_release_bot_arm_device': [
211 'ios', 'gn', 'release_bot', 'arm', 'device'
212 ],
213 'ios_gn_debug_static_bot_x86': [
214 'ios', 'gn', 'debug_static_bot', 'x86'
215 ],
216 'ios_gn_debug_static_bot_x64': [
217 'ios', 'gn', 'debug_static_bot', 'x64'
ehmaldonadod046d982016-08-08 06:59:14 -0700218 ],
kjellander1c814e72016-08-16 02:42:02 -0700219 'ios_gyp_debug_static_bot_arm64_device': [
kjellander7b11c652016-09-12 05:33:54 -0700220 'ios', 'gyp', 'gyp_limited_support_build', 'debug_static_bot', 'arm64',
221 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700222 ],
223 'ios_gyp_release_bot_arm64_device': [
kjellander7b11c652016-09-12 05:33:54 -0700224 'ios', 'gyp', 'gyp_limited_support_build', 'release_bot', 'arm64',
225 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700226 ],
ehmaldonado09abaa02016-08-09 02:26:16 -0700227
kjellander0ae78782016-08-11 00:49:47 -0700228 # Linux, Mac and Windows
ehmaldonadod6e65b32016-09-05 06:43:56 -0700229 'gn_gcc_release_bot_x64': [
230 'gn', 'gcc', 'release_bot', 'x64'
231 ],
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': [
ehmaldonado6b748652016-08-31 01:53:42 -0700236 'gyp', 'gyp_limited_support_build', 'debug_bot', 'x64'
kjellanderf02207d2016-08-24 09:40:00 -0700237 ],
kjellanderf02207d2016-08-24 09:40:00 -0700238 'gyp_release_bot_x64_exclude_tests': [
ehmaldonado6b748652016-08-31 01:53:42 -0700239 'gyp', 'gyp_limited_support_build', 'release_bot', 'x64'
kjellanderf02207d2016-08-24 09:40:00 -0700240 ],
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 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700271 'swarming_gn_release_bot_x86': [
272 'swarming', 'gn', 'openh264_release_bot', 'x86'
273 ],
kjellanderf02207d2016-08-24 09:40:00 -0700274 'swarming_gn_debug_bot_x64': [
275 'swarming', 'gn', 'openh264_debug_bot', 'x64'
276 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700277 'swarming_gn_release_bot_x64': [
278 'swarming', 'gn', 'openh264_release_bot', 'x64'
279 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700280
kjellander0ae78782016-08-11 00:49:47 -0700281 # Windows
kjellander133edb22016-08-28 20:35:55 -0700282 'win_gn_clang_debug_bot_x86': [
283 'gn', 'clang', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700284 ],
kjellander133edb22016-08-28 20:35:55 -0700285 'win_gn_clang_release_bot_x86': [
286 'gn', 'clang', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700287 ],
kjellander133edb22016-08-28 20:35:55 -0700288 'win_gn_clang_debug_bot_x64': [
289 'gn', 'clang', 'openh264_debug_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700290 ],
kjellander133edb22016-08-28 20:35:55 -0700291 'win_gn_clang_release_bot_x64': [
292 'gn', 'clang', 'openh264_release_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700293 ],
kjellander133edb22016-08-28 20:35:55 -0700294 'win_gn_syzyasan_release_bot_x86': [
295 'gn', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700296 ],
297 # TODO(kjellander): Flip DrMemory bots over to Release after GN migration
298 # (http://crbug.com/636414).
kjellander133edb22016-08-28 20:35:55 -0700299 'win_gn_drmemory_debug_bot_x86': [
300 'gn', 'drmemory', 'minimal_symbols', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700301 ],
302
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700303 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700304 'mac_gn_asan_clang_release_bot_x64': [
305 'gn', 'asan', 'clang', 'openh264_release_bot', 'x64',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700306 ],
307
ehmaldonado89b0ca82016-08-09 08:15:03 -0700308 # Android
kjellander68815bf2016-08-10 09:49:37 -0700309 'android_gyp_debug_static_bot_arm': [
ehmaldonado6b748652016-08-31 01:53:42 -0700310 'android', 'gyp', 'gyp_limited_support_build', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700311 ],
kjellander3cb0c572016-08-09 13:00:57 -0700312 'android_gyp_release_bot_arm': [
ehmaldonado6b748652016-08-31 01:53:42 -0700313 'android', 'gyp', 'gyp_limited_support_build', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700314 ],
kjellander68815bf2016-08-10 09:49:37 -0700315 'android_gn_debug_static_bot_arm': [
316 'android', 'gn', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700317 ],
kjellander3cb0c572016-08-09 13:00:57 -0700318 'android_gn_release_bot_arm': [
Henrik Kjellander91a57592016-10-12 20:25:34 -0700319 'android', 'gn', 'release_bot', 'minimal_symbols', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700320 ],
kjellander4c8adb12016-08-24 00:34:40 -0700321 'android_gn_debug_static_bot_x86': [
322 'android', 'gn', 'debug_static_bot', 'x86'
323 ],
324 'android_gn_release_bot_x86': [
Henrik Kjellander91a57592016-10-12 20:25:34 -0700325 'android', 'gn', 'release_bot', 'minimal_symbols', 'x86'
kjellander4c8adb12016-08-24 00:34:40 -0700326 ],
kjellander70d01242016-09-15 03:42:29 -0700327 'android_gn_clang_debug_bot_arm': [
328 'android', 'gn', 'clang', 'debug_bot', 'arm'
kjellander4c8adb12016-08-24 00:34:40 -0700329 ],
330 'android_gn_clang_debug_static_bot_mipsel': [
331 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel'
332 ],
333 'android_gn_debug_static_bot_arm64': [
334 'android', 'gn', 'debug_static_bot', 'arm64'
335 ],
336 'android_gn_release_bot_arm64': [
Henrik Kjellander91a57592016-10-12 20:25:34 -0700337 'android', 'gn', 'release_bot', 'minimal_symbols', 'arm64'
kjellander4c8adb12016-08-24 00:34:40 -0700338 ],
339 'android_gn_debug_static_bot_x64': [
340 'android', 'gn', 'debug_static_bot', 'x64'
341 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700342 'android_gn_asan_shared_release_bot_arm': [
Henrik Kjellander91a57592016-10-12 20:25:34 -0700343 'android', 'gn', 'asan', 'clang', 'shared', 'release_bot',
344 'minimal_symbols', 'arm'
ehmaldonadod6e65b32016-09-05 06:43:56 -0700345 ],
ehmaldonado936405b2016-09-19 13:30:04 -0700346 'swarming_android_gn_release_bot_arm': [
Henrik Kjellander91a57592016-10-12 20:25:34 -0700347 'swarming', 'android', 'gn', 'release_bot', 'minimal_symbols', 'arm'
ehmaldonado936405b2016-09-19 13:30:04 -0700348 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700349
350 # This is used for tracking purposes; any bot that uses this config
351 # should never actually run MB.
352 'none': [
353 'error',
354 ],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100355 },
356
357 # This is a dict mapping a given 'mixin' name to a dict of settings that
358 # mb should use. See //tools/mb/docs/user_guide.md for more information.
359 'mixins': {
ehmaldonado89b0ca82016-08-09 08:15:03 -0700360 'android': {
361 'gn_args': 'target_os="android"',
362 'gyp_defines': 'OS=android',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100363 },
364
365 'arm': {
366 'gn_args': 'target_cpu="arm"',
367 'gyp_defines': 'target_arch=arm',
368 },
369
370 'arm64': {
371 'gn_args': 'target_cpu="arm64"',
372 'gyp_defines': 'target_arch=arm64',
373 },
374
ehmaldonado09abaa02016-08-09 02:26:16 -0700375 'asan': {
376 'gn_args': 'is_asan=true',
377 'gyp_defines': 'asan=1',
378 },
379
380 'clang': {
381 'gn_args': 'is_clang=true',
382 'gyp_defines': 'clang=1',
383 },
384
kjellander5d6b84c2016-08-09 13:17:40 -0700385 'crosscompile': {
386 # This mixin is only needed on GYP bots that are doing cross-compiles
387 # but are *not* targetting Android or iOS (where
388 # webrtc/build/gyp_webrtc.py will set the crosscompile variable
389 # automatically). It is not need in GN at all.
390 'gyp_crosscompile': True,
391 },
392
ehmaldonado09abaa02016-08-09 02:26:16 -0700393 'dcheck_always_on': {
394 'gn_args': 'dcheck_always_on=true',
395 'gyp_defines': 'dcheck_always_on=1',
396 },
397
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100398 'debug': {
399 'gn_args': 'is_debug=true',
400 },
401
402 'debug_bot': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700403 'mixins': ['debug', 'shared', 'goma'],
404 },
405
kjellander68815bf2016-08-10 09:49:37 -0700406 'debug_static_bot': {
407 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
408 },
409
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100410 'device': {
kjellander@webrtc.org0c74ae12016-02-25 08:41:10 +0100411 'gn_args': 'ios_enable_code_signing=false',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100412 'gyp_defines': 'chromium_ios_signing=0',
413 },
414
kjellander0ae78782016-08-11 00:49:47 -0700415 'drmemory': {
416 'gn_args': 'is_component_build=true enable_iterator_debugging=false',
417 'gyp_defines': 'component=shared_library build_for_tool=drmemory',
418 },
419
ehmaldonado89b0ca82016-08-09 08:15:03 -0700420 # This mixin is used to force configs that use it to fail. It
421 # is used in two cases: when we have bots that we haven't looked
422 # at yet and don't know whether they need MB or not, and for bots
423 # that are test-only and should never run MB.
424 'error': {
425 'gn_args': 'error',
426 'gyp_defines': 'target_arch=unknown',
427 },
428
ehmaldonadod6e65b32016-09-05 06:43:56 -0700429 'gcc': {
430 'gn_args': 'is_clang=false use_sysroot=false',
431 'gyp_defines': 'clang=0',
432 },
433
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100434 'gn': {'type': 'gn'},
435
ehmaldonado09abaa02016-08-09 02:26:16 -0700436 'goma': {
437 # The MB code will properly escape goma_dir if necessary in the GYP
438 # code path; the GN code path needs no escaping.
439 'gn_args': 'use_goma=true',
440 'gyp_defines': 'use_goma=1',
441 },
442
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100443 'gyp': {'type': 'gyp'},
444
ehmaldonado6b748652016-08-31 01:53:42 -0700445 'gyp_limited_support_build': {
kjellander9c8c5862016-09-09 01:42:06 -0700446 'gyp_defines': (
447 'include_examples=0 include_tests=0 include_ilbc=0 '
448 'build_expat=0 build_json=0 build_libevent=0 build_libjpeg=0 '
449 'build_libsrtp=0 build_libvpx=0 build_libyuv=0 build_openmax_dl=0 '
450 'build_opus=0 build_protobuf=0 build_ssl=0 build_usrsctp=0 '
451 'enable_video=0 linux_use_bundled_binutils=0 rtc_use_openmax_dl=1 '
452 'use_openssl=1 use_x11=0 use_gtk=0'),
ehmaldonado6b748652016-08-31 01:53:42 -0700453 },
454
ehmaldonado89b0ca82016-08-09 08:15:03 -0700455 'ios': {
456 'gn_args': 'target_os="ios"',
457 'gyp_defines': 'OS=ios',
458 },
459
ehmaldonado09abaa02016-08-09 02:26:16 -0700460 'lsan': {
461 'gn_args': 'is_lsan=true',
462 'gyp_defines': 'lsan=1',
463 },
464
465 'memcheck': {
466 'gyp_defines': 'build_for_tool=memcheck',
467 },
468
kjellander68815bf2016-08-10 09:49:37 -0700469 'minimal_symbols': {
470 'gn_args': 'symbol_level=1',
471 'gyp_defines': 'fastbuild=1',
472 },
473
ehmaldonado89b0ca82016-08-09 08:15:03 -0700474 'mipsel': {
475 'gn_args': 'target_cpu="mipsel"',
476 'gyp_defines': 'target_arch=mipsel',
477 },
478
kjellander0ae78782016-08-11 00:49:47 -0700479 'minimal_symbols': {
480 'gn_args': 'symbol_level=1',
481 'gyp_defines': 'fastbuild=1',
482 },
483
ehmaldonado09abaa02016-08-09 02:26:16 -0700484 'msan': {
485 'gn_args': ('is_msan=true msan_track_origins=2 '
486 'use_prebuilt_instrumented_libraries=true'),
487 'gyp_defines': ('msan=1 msan_track_origins=2 '
488 'use_prebuilt_instrumented_libraries=1'),
489 },
490
ehmaldonado09abaa02016-08-09 02:26:16 -0700491 'openh264': {
492 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true',
493 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1',
494 },
495
kjellander3cb0c572016-08-09 13:00:57 -0700496 'openh264_debug_bot': {
497 'mixins': ['openh264', 'debug_bot'],
498 },
499
500 'openh264_release_bot': {
501 'mixins': ['openh264', 'release_bot'],
502 },
503
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100504 'release': {
505 'gn_args': 'is_debug=false',
506 },
507
508 'release_bot': {
kjellander3cb0c572016-08-09 13:00:57 -0700509 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100510 },
511
512 'shared': {
513 'gn_args': 'is_component_build=true',
514 'gyp_defines': 'component=shared_library',
515 },
516
517 'static': {
518 'gn_args': 'is_component_build=false',
519 'gyp_defines': 'component=static_library',
520 },
521
ehmaldonado09abaa02016-08-09 02:26:16 -0700522 'swarming': {
523 'gn_args': '',
524 'gyp_defines': 'test_isolation_mode=prepare',
525 },
526
kjellander0ae78782016-08-11 00:49:47 -0700527 'syzyasan': {
528 'gn_args': 'is_syzyasan=true',
529 'gyp_defines': 'syzyasan=1'
530 },
531
kjellander3cb0c572016-08-09 13:00:57 -0700532 'tsan': {
533 'gn_args': 'is_tsan=true',
534 'gyp_defines': 'tsan=1',
535 },
536
ehmaldonado09abaa02016-08-09 02:26:16 -0700537 'ubsan': {
538 'gn_args': 'is_ubsan=true',
539 'gyp_defines': 'ubsan=1',
540 },
541
542 'ubsan_vptr': {
543 'gn_args': 'is_ubsan_vptr=true',
544 'gyp_defines': 'ubsan_vptr=1',
545 },
546
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100547 'x64': {
548 'gn_args': 'target_cpu="x64"',
549 'gyp_defines': 'target_arch=x64',
550 },
551
552 'x86': {
553 'gn_args': 'target_cpu="x86"',
554 'gyp_defines': 'target_arch=ia32',
555 },
556 },
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100557}