blob: 6fc3167fb06bd90cecd424cd531cabc6b2975ecd [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',
ehmaldonado09abaa02016-08-09 02:26:16 -070029
ehmaldonadoa3a1fde2016-08-11 01:04:35 -070030 # Mac
kjellanderf02207d2016-08-24 09:40:00 -070031 'Mac64 Debug': 'gn_debug_bot_x64',
32 'Mac64 Release': 'gn_release_bot_x64',
33 'Mac Asan': 'mac_gn_asan_clang_release_bot_x64',
34 'Mac64 Release [large tests]': 'gn_release_bot_x64',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -070035
ehmaldonado09abaa02016-08-09 02:26:16 -070036 # Linux
ehmaldonado76cd2812016-09-08 04:25:22 -070037 'Linux32 Debug': 'gn_debug_bot_x86',
38 'Linux32 Release': 'gn_release_bot_x86',
Henrik Kjellanderb4af3d62016-11-16 20:11:29 +010039 'Linux32 ARM': 'gn_release_bot_arm',
kjellanderfe1d1912016-08-26 06:10:30 -070040 'Linux64 Debug': 'gn_debug_bot_x64',
41 'Linux64 Release': 'gn_release_bot_x64',
42 'Linux Asan': 'gn_asan_lsan_clang_release_bot_x64',
Henrik Kjellanderb4af3d62016-11-16 20:11:29 +010043 'Linux Memcheck': 'gn_release_bot_x64',
kjellanderfe1d1912016-08-26 06:10:30 -070044 'Linux MSan': 'gn_msan_clang_release_bot_x64',
45 'Linux Tsan v2': 'gn_tsan_clang_release_bot_x64',
46 'Linux UBSan': 'gn_ubsan_clang_release_bot_x64',
47 'Linux UBSan vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
48 'Linux64 Release [large tests]': 'gn_release_bot_x64',
ehmaldonado89b0ca82016-08-09 08:15:03 -070049
50 # Android
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020051 'Android32 (M Nexus5X)': 'android_gn_release_bot_arm',
52 'Android32 (M Nexus5X)(dbg)': 'android_gn_debug_static_bot_arm',
53 'Android64 (M Nexus5X)': 'android_gn_release_bot_arm64',
54 'Android64 (M Nexus5X)(dbg)': 'android_gn_debug_static_bot_arm64',
kjellander4c8adb12016-08-24 00:34:40 -070055 'Android32 Builder x86': 'android_gn_release_bot_x86',
56 'Android32 Builder x86 (dbg)': 'android_gn_debug_static_bot_x86',
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020057 'Android64 Builder x64 (dbg)': 'android_gn_debug_static_bot_x64',
kjellander4c8adb12016-08-24 00:34:40 -070058 'Android32 Builder MIPS (dbg)': 'android_gn_clang_debug_static_bot_mipsel',
kjellander70d01242016-09-15 03:42:29 -070059 'Android32 Clang (dbg)': 'android_gn_clang_debug_bot_arm',
kjellander0ae78782016-08-11 00:49:47 -070060
61 # Windows
kjellander133edb22016-08-28 20:35:55 -070062 'Win32 Debug': 'gn_debug_bot_x86',
63 'Win32 Release': 'gn_release_bot_x86',
64 'Win64 Debug': 'gn_debug_bot_x64',
65 'Win64 Release': 'gn_release_bot_x64',
66 'Win32 Debug (Clang)': 'win_gn_clang_debug_bot_x86',
67 'Win32 Release (Clang)': 'win_gn_clang_release_bot_x86',
68 'Win64 Debug (Clang)': 'win_gn_clang_debug_bot_x64',
69 'Win64 Release (Clang)': 'win_gn_clang_release_bot_x64',
70 'Win SyzyASan': 'win_gn_syzyasan_release_bot_x86',
kjellander133edb22016-08-28 20:35:55 -070071 'Win32 Release [large tests]': 'gn_release_bot_x86',
ehmaldonadod046d982016-08-08 06:59:14 -070072 },
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020073 'client.webrtc.perf': {
74 # Android
75 'Android32 Builder': 'android_gn_release_bot_arm',
76 'Android64 Builder': 'android_gn_release_bot_arm64',
77 'Android32 Tests (L Nexus5)': 'none',
78 'Android32 Tests (L Nexus7.2)': 'none',
79 'Android64 Tests (L Nexus9)': 'none',
80 },
81 'client.webrtc.fyi': {
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020082 # Linux
83 'Linux64 GCC': 'gn_gcc_release_bot_x64',
Henrik Kjellanderb4af3d62016-11-16 20:11:29 +010084 'Linux Memcheck (swarming)': 'gn_release_bot_x64',
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020085
86 # Android
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020087 'Android32 ASan (L Nexus6)': 'android_gn_asan_shared_release_bot_arm',
88 'Android32 Builder': 'android_gn_release_bot_arm',
89 'Android32 Tests (J Nexus4)': 'none',
90 'Android32 Tests (K Nexus5)': 'none',
91 'Android32 Tests (L Nexus6)': 'none',
92
93 # Windows
ehmaldonado84309bc2016-11-07 06:57:19 -080094 'Win64 Debug (swarming)': 'gn_debug_bot_x64',
Henrik Kjellandere918a132016-11-11 08:07:12 +010095 'Win64 Debug (Win8)': 'gn_debug_bot_x64',
96 'Win64 Debug (Win10)': 'gn_debug_bot_x64',
Henrik Kjellandercbfb0332016-10-09 06:28:58 +020097 },
ehmaldonadod046d982016-08-08 06:59:14 -070098 'tryserver.webrtc': {
ehmaldonado09abaa02016-08-09 02:26:16 -070099 # iOS
kjellander6e5b0d72016-08-30 14:05:44 -0700100 'ios_dbg': 'ios_gn_debug_static_bot_arm_device',
101 'ios_rel': 'ios_gn_release_bot_arm_device',
102 'ios_arm64_dbg': 'ios_gn_debug_static_bot_arm64_device',
103 'ios_arm64_rel': 'ios_gn_release_bot_arm64_device',
104 'ios32_sim_dbg': 'ios_gn_debug_static_bot_x86',
105 'ios64_sim_dbg': 'ios_gn_debug_static_bot_x64',
ehmaldonado09abaa02016-08-09 02:26:16 -0700106
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700107 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700108 'mac_compile_dbg': 'gn_debug_bot_x64',
109 'mac_compile_rel': 'gn_release_bot_x64',
110 'mac_dbg': 'gn_debug_bot_x64',
111 'mac_rel': 'gn_release_bot_x64',
112 'mac_asan': 'mac_gn_asan_clang_release_bot_x64',
113 'mac_baremetal': 'gn_release_bot_x64',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700114
ehmaldonado09abaa02016-08-09 02:26:16 -0700115 # Linux
kjellanderfe1d1912016-08-26 06:10:30 -0700116 'linux_compile_dbg': 'gn_debug_bot_x64',
117 'linux_compile_rel': 'gn_release_bot_x64',
118 'linux_dbg': 'gn_debug_bot_x64',
119 'linux_rel': 'gn_release_bot_x64',
Henrik Kjellander891eaac2016-09-06 09:52:45 +0200120 'linux32_dbg': 'gn_debug_bot_x86',
121 'linux32_rel': 'gn_release_bot_x86',
Henrik Kjellanderb4af3d62016-11-16 20:11:29 +0100122 'linux_arm': 'gn_release_bot_arm',
kjellanderfe1d1912016-08-26 06:10:30 -0700123 'linux_asan': 'gn_asan_lsan_clang_release_bot_x64',
Henrik Kjellanderb4af3d62016-11-16 20:11:29 +0100124 'linux_memcheck': 'gn_release_bot_x64',
kjellanderfe1d1912016-08-26 06:10:30 -0700125 'linux_msan': 'gn_msan_clang_release_bot_x64',
126 'linux_tsan2': 'gn_tsan_clang_release_bot_x64',
127 'linux_ubsan': 'gn_ubsan_clang_release_bot_x64',
128 'linux_ubsan_vptr': 'gn_ubsan_vptr_clang_release_bot_x64',
129 'linux_baremetal': 'gn_release_bot_x64',
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',
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',
kjellander133edb22016-08-28 20:35:55 -0700160 'win_baremetal': 'gn_release_bot_x86',
Henrik Kjellandere918a132016-11-11 08:07:12 +0100161 'win_x64_win8': 'gn_debug_bot_x64',
162 'win_x64_win10': 'gn_debug_bot_x64',
ehmaldonadod6e65b32016-09-05 06:43:56 -0700163 }
ehmaldonadod046d982016-08-08 06:59:14 -0700164 },
165
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100166 # This is the list of configs that you can pass to mb; each config
167 # represents a particular combination of GYP_DEFINES/gn args that
168 # we must support. A given config *may* be platform-specific but
169 # is not necessarily so (i.e., we might have mac, win, and linux
170 # bots all using the 'gn_release_bot' config).
171 'configs': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700172 # iOS
kjellander1c814e72016-08-16 02:42:02 -0700173 'ios_gn_debug_static_bot_arm64_device': [
174 'ios', 'gn', 'debug_static_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700175 ],
176 'ios_gn_release_bot_arm64_device': [
kjellander1c814e72016-08-16 02:42:02 -0700177 'ios', 'gn', 'release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700178 ],
kjellander6e5b0d72016-08-30 14:05:44 -0700179 'ios_gn_debug_static_bot_arm_device': [
180 'ios', 'gn', 'debug_static_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700181 ],
kjellander6e5b0d72016-08-30 14:05:44 -0700182 'ios_gn_release_bot_arm_device': [
183 'ios', 'gn', 'release_bot', 'arm', 'device'
184 ],
185 'ios_gn_debug_static_bot_x86': [
186 'ios', 'gn', 'debug_static_bot', 'x86'
187 ],
188 'ios_gn_debug_static_bot_x64': [
189 'ios', 'gn', 'debug_static_bot', 'x64'
ehmaldonadod046d982016-08-08 06:59:14 -0700190 ],
ehmaldonado09abaa02016-08-09 02:26:16 -0700191
kjellander0ae78782016-08-11 00:49:47 -0700192 # Linux, Mac and Windows
ehmaldonadod6e65b32016-09-05 06:43:56 -0700193 'gn_gcc_release_bot_x64': [
194 'gn', 'gcc', 'release_bot', 'x64'
195 ],
Henrik Kjellanderb4af3d62016-11-16 20:11:29 +0100196 'gn_release_bot_arm': [
197 'gn', 'openh264_release_bot', 'arm'
kjellanderf02207d2016-08-24 09:40:00 -0700198 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700199 'gn_asan_lsan_clang_release_bot_x64': [
200 'gn', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700201 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700202 'gn_msan_clang_release_bot_x64': [
203 'gn', 'msan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700204 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700205 'gn_tsan_clang_release_bot_x64': [
206 'gn', 'tsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700207 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700208 'gn_ubsan_clang_release_bot_x64': [
209 'gn', 'ubsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700210 ],
kjellanderfe1d1912016-08-26 06:10:30 -0700211 'gn_ubsan_vptr_clang_release_bot_x64': [
212 'gn', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700213 ],
kjellander133edb22016-08-28 20:35:55 -0700214 'gn_debug_bot_x86': [
215 'gn', 'openh264_debug_bot', 'x86'
216 ],
217 'gn_release_bot_x86': [
218 'gn', 'openh264_release_bot', 'x86'
219 ],
kjellander3cb0c572016-08-09 13:00:57 -0700220 'gn_debug_bot_x64': [
221 'gn', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700222 ],
kjellander3cb0c572016-08-09 13:00:57 -0700223 'gn_release_bot_x64': [
224 'gn', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700225 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700226
kjellander0ae78782016-08-11 00:49:47 -0700227 # Windows
kjellander133edb22016-08-28 20:35:55 -0700228 'win_gn_clang_debug_bot_x86': [
229 'gn', 'clang', 'openh264_debug_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700230 ],
kjellander133edb22016-08-28 20:35:55 -0700231 'win_gn_clang_release_bot_x86': [
232 'gn', 'clang', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700233 ],
kjellander133edb22016-08-28 20:35:55 -0700234 'win_gn_clang_debug_bot_x64': [
235 'gn', 'clang', 'openh264_debug_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700236 ],
kjellander133edb22016-08-28 20:35:55 -0700237 'win_gn_clang_release_bot_x64': [
238 'gn', 'clang', 'openh264_release_bot', 'x64',
kjellander0ae78782016-08-11 00:49:47 -0700239 ],
kjellander133edb22016-08-28 20:35:55 -0700240 'win_gn_syzyasan_release_bot_x86': [
241 'gn', 'syzyasan', 'minimal_symbols', 'openh264_release_bot', 'x86',
kjellander0ae78782016-08-11 00:49:47 -0700242 ],
kjellander0ae78782016-08-11 00:49:47 -0700243
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700244 # Mac
kjellanderf02207d2016-08-24 09:40:00 -0700245 'mac_gn_asan_clang_release_bot_x64': [
246 'gn', 'asan', 'clang', 'openh264_release_bot', 'x64',
ehmaldonadoa3a1fde2016-08-11 01:04:35 -0700247 ],
248
ehmaldonado89b0ca82016-08-09 08:15:03 -0700249 # Android
kjellander68815bf2016-08-10 09:49:37 -0700250 'android_gn_debug_static_bot_arm': [
251 'android', 'gn', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700252 ],
kjellander3cb0c572016-08-09 13:00:57 -0700253 'android_gn_release_bot_arm': [
kjellander5e49c2f2016-10-27 00:00:14 -0700254 'android', 'gn', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700255 ],
kjellander4c8adb12016-08-24 00:34:40 -0700256 'android_gn_debug_static_bot_x86': [
257 'android', 'gn', 'debug_static_bot', 'x86'
258 ],
259 'android_gn_release_bot_x86': [
kjellander5e49c2f2016-10-27 00:00:14 -0700260 'android', 'gn', 'release_bot', 'x86'
kjellander4c8adb12016-08-24 00:34:40 -0700261 ],
kjellander70d01242016-09-15 03:42:29 -0700262 'android_gn_clang_debug_bot_arm': [
263 'android', 'gn', 'clang', 'debug_bot', 'arm'
kjellander4c8adb12016-08-24 00:34:40 -0700264 ],
265 'android_gn_clang_debug_static_bot_mipsel': [
266 'android', 'gn', 'clang', 'debug_static_bot', 'mipsel'
267 ],
268 'android_gn_debug_static_bot_arm64': [
269 'android', 'gn', 'debug_static_bot', 'arm64'
270 ],
271 'android_gn_release_bot_arm64': [
kjellander5e49c2f2016-10-27 00:00:14 -0700272 'android', 'gn', 'release_bot', 'arm64'
kjellander4c8adb12016-08-24 00:34:40 -0700273 ],
274 'android_gn_debug_static_bot_x64': [
275 'android', 'gn', 'debug_static_bot', 'x64'
276 ],
ehmaldonadod6e65b32016-09-05 06:43:56 -0700277 'android_gn_asan_shared_release_bot_arm': [
kjellander5e49c2f2016-10-27 00:00:14 -0700278 'android', 'gn', 'asan', 'clang', 'shared', 'release_bot', 'arm'
ehmaldonadod6e65b32016-09-05 06:43:56 -0700279 ],
ehmaldonado89b0ca82016-08-09 08:15:03 -0700280
281 # This is used for tracking purposes; any bot that uses this config
282 # should never actually run MB.
283 'none': [
284 'error',
285 ],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100286 },
287
288 # This is a dict mapping a given 'mixin' name to a dict of settings that
289 # mb should use. See //tools/mb/docs/user_guide.md for more information.
290 'mixins': {
ehmaldonado89b0ca82016-08-09 08:15:03 -0700291 'android': {
292 'gn_args': 'target_os="android"',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100293 },
294
295 'arm': {
296 'gn_args': 'target_cpu="arm"',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100297 },
298
299 'arm64': {
300 'gn_args': 'target_cpu="arm64"',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100301 },
302
ehmaldonado09abaa02016-08-09 02:26:16 -0700303 'asan': {
304 'gn_args': 'is_asan=true',
ehmaldonado09abaa02016-08-09 02:26:16 -0700305 },
306
307 'clang': {
308 'gn_args': 'is_clang=true',
kjellander5d6b84c2016-08-09 13:17:40 -0700309 },
310
ehmaldonado09abaa02016-08-09 02:26:16 -0700311 'dcheck_always_on': {
312 'gn_args': 'dcheck_always_on=true',
ehmaldonado09abaa02016-08-09 02:26:16 -0700313 },
314
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100315 'debug': {
316 'gn_args': 'is_debug=true',
317 },
318
319 'debug_bot': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700320 'mixins': ['debug', 'shared', 'goma'],
321 },
322
kjellander68815bf2016-08-10 09:49:37 -0700323 'debug_static_bot': {
324 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
325 },
326
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100327 'device': {
kjellander@webrtc.org0c74ae12016-02-25 08:41:10 +0100328 'gn_args': 'ios_enable_code_signing=false',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100329 },
330
ehmaldonado89b0ca82016-08-09 08:15:03 -0700331 # This mixin is used to force configs that use it to fail. It
332 # is used in two cases: when we have bots that we haven't looked
333 # at yet and don't know whether they need MB or not, and for bots
334 # that are test-only and should never run MB.
335 'error': {
336 'gn_args': 'error',
ehmaldonado89b0ca82016-08-09 08:15:03 -0700337 },
338
ehmaldonadod6e65b32016-09-05 06:43:56 -0700339 'gcc': {
340 'gn_args': 'is_clang=false use_sysroot=false',
341 'gyp_defines': 'clang=0',
342 },
343
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100344 'gn': {'type': 'gn'},
345
ehmaldonado09abaa02016-08-09 02:26:16 -0700346 'goma': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700347 'gn_args': 'use_goma=true',
ehmaldonado6b748652016-08-31 01:53:42 -0700348 },
349
ehmaldonado89b0ca82016-08-09 08:15:03 -0700350 'ios': {
351 'gn_args': 'target_os="ios"',
352 'gyp_defines': 'OS=ios',
353 },
354
ehmaldonado09abaa02016-08-09 02:26:16 -0700355 'lsan': {
356 'gn_args': 'is_lsan=true',
ehmaldonado09abaa02016-08-09 02:26:16 -0700357 },
358
kjellander68815bf2016-08-10 09:49:37 -0700359 'minimal_symbols': {
360 'gn_args': 'symbol_level=1',
kjellander68815bf2016-08-10 09:49:37 -0700361 },
362
ehmaldonado89b0ca82016-08-09 08:15:03 -0700363 'mipsel': {
364 'gn_args': 'target_cpu="mipsel"',
ehmaldonado89b0ca82016-08-09 08:15:03 -0700365 },
366
kjellander0ae78782016-08-11 00:49:47 -0700367 'minimal_symbols': {
368 'gn_args': 'symbol_level=1',
kjellander0ae78782016-08-11 00:49:47 -0700369 },
370
ehmaldonado09abaa02016-08-09 02:26:16 -0700371 'msan': {
372 'gn_args': ('is_msan=true msan_track_origins=2 '
373 'use_prebuilt_instrumented_libraries=true'),
ehmaldonado09abaa02016-08-09 02:26:16 -0700374 },
375
ehmaldonado09abaa02016-08-09 02:26:16 -0700376 'openh264': {
377 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true',
ehmaldonado09abaa02016-08-09 02:26:16 -0700378 },
379
kjellander3cb0c572016-08-09 13:00:57 -0700380 'openh264_debug_bot': {
381 'mixins': ['openh264', 'debug_bot'],
382 },
383
384 'openh264_release_bot': {
385 'mixins': ['openh264', 'release_bot'],
386 },
387
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100388 'release': {
389 'gn_args': 'is_debug=false',
390 },
391
392 'release_bot': {
kjellander3cb0c572016-08-09 13:00:57 -0700393 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100394 },
395
396 'shared': {
397 'gn_args': 'is_component_build=true',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100398 },
399
400 'static': {
401 'gn_args': 'is_component_build=false',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100402 },
403
kjellander0ae78782016-08-11 00:49:47 -0700404 'syzyasan': {
405 'gn_args': 'is_syzyasan=true',
kjellander0ae78782016-08-11 00:49:47 -0700406 },
407
kjellander3cb0c572016-08-09 13:00:57 -0700408 'tsan': {
409 'gn_args': 'is_tsan=true',
kjellander3cb0c572016-08-09 13:00:57 -0700410 },
411
ehmaldonado09abaa02016-08-09 02:26:16 -0700412 'ubsan': {
413 'gn_args': 'is_ubsan=true',
ehmaldonado09abaa02016-08-09 02:26:16 -0700414 },
415
416 'ubsan_vptr': {
417 'gn_args': 'is_ubsan_vptr=true',
ehmaldonado09abaa02016-08-09 02:26:16 -0700418 },
419
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100420 'x64': {
421 'gn_args': 'target_cpu="x64"',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100422 },
423
424 'x86': {
425 'gn_args': 'target_cpu="x86"',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100426 },
427 },
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100428}