blob: c990fc3e65fbfbcb756e6df485e7bdc4c1a68675 [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
ehmaldonadod046d982016-08-08 06:59:14 -070023 'iOS32 Debug': 'ios_gyp_debug_bot_arm_device',
24 'iOS32 Release': 'ios_gyp_release_bot_arm_device',
25 'iOS64 Debug': 'ios_gyp_debug_bot_arm64_device',
26 'iOS64 Release': 'ios_gyp_release_bot_arm64_device',
27 'iOS32 Debug Simulator': 'ios_gyp_debug_bot_x86',
28 'iOS64 Debug Simulator': 'ios_gyp_debug_bot_x64',
29 'iOS64 Debug (GN)': 'ios_gn_debug_bot_arm64_device',
30 'iOS64 Release (GN)': 'ios_gn_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -070031
32 # Linux
kjellander5d6b84c2016-08-09 13:17:40 -070033 'Linux32 ARM': 'gyp_crosscompile_release_bot_arm',
ehmaldonado09abaa02016-08-09 02:26:16 -070034 'Linux32 Debug': 'gyp_debug_bot_x86',
35 'Linux32 Release': 'gyp_release_bot_x86',
36 'Linux64 Debug': 'gyp_debug_bot_x64',
37 'Linux64 Release': 'gyp_release_bot_x64',
38 'Linux Asan': 'gyp_asan_lsan_clang_release_bot_x64',
39 'Linux Memcheck': 'gyp_memcheck_release_bot_x64',
40 'Linux MSan': 'gyp_msan_clang_release_bot_x64',
41 'Linux Tsan v2': 'gyp_tsan_clang_release_bot_x64',
42 'Linux UBSan': 'gyp_ubsan_clang_release_bot_x64',
43 'Linux UBSan vptr': 'gyp_ubsan_vptr_clang_release_bot_x64',
44 'Linux64 Release [large tests]': 'gyp_release_bot_x64',
kjellander3cb0c572016-08-09 13:00:57 -070045 'Linux64 Debug (GN)': 'gn_debug_bot_x64',
46 'Linux64 Release (GN)': 'gn_release_bot_x64',
ehmaldonado89b0ca82016-08-09 08:15:03 -070047
48 # Android
49 'Android32 Builder': 'android_gyp_release_bot_arm',
kjellander68815bf2016-08-10 09:49:37 -070050 'Android32 Builder (dbg)': 'android_gyp_debug_static_bot_arm',
ehmaldonado89b0ca82016-08-09 08:15:03 -070051 'Android32 Builder x86': 'android_gyp_release_bot_x86',
kjellander68815bf2016-08-10 09:49:37 -070052 'Android32 Builder x86 (dbg)': 'android_gyp_debug_static_bot_x86',
53 'Android32 Builder MIPS (dbg)': 'android_gyp_clang_debug_static_bot_mipsel',
54 'Android32 Clang (dbg)': 'android_gyp_clang_debug_static_bot_arm',
ehmaldonado89b0ca82016-08-09 08:15:03 -070055 'Android64 Builder': 'android_gyp_release_bot_arm64',
kjellander68815bf2016-08-10 09:49:37 -070056 'Android64 Builder (dbg)': 'android_gyp_debug_static_bot_arm64',
57 'Android64 Builder x64 (dbg)': 'android_gyp_debug_static_bot_x64',
ehmaldonado89b0ca82016-08-09 08:15:03 -070058 'Android32 GN': 'android_gn_release_bot_arm',
kjellander68815bf2016-08-10 09:49:37 -070059 'Android32 GN (dbg)': 'android_gn_debug_static_bot_arm',
ehmaldonado89b0ca82016-08-09 08:15:03 -070060 'Android32 Tests (L Nexus5)(dbg)': 'none',
61 'Android32 Tests (L Nexus5)': 'none',
62 'Android32 Tests (L Nexus7.2)(dbg)': 'none',
63 'Android32 Tests (L Nexus7.2)': 'none',
64 'Android64 Tests (L Nexus9)': 'none',
ehmaldonadod046d982016-08-08 06:59:14 -070065 },
66 'tryserver.webrtc': {
ehmaldonado09abaa02016-08-09 02:26:16 -070067 # iOS
kjellander3cb0c572016-08-09 13:00:57 -070068 'ios_dbg': 'ios_gyp_debug_bot_arm_device',
69 'ios_rel': 'ios_gyp_release_bot_arm_device',
70 'ios_arm64_dbg': 'ios_gyp_debug_bot_arm64_device',
71 'ios_arm64_rel': 'ios_gyp_release_bot_arm64_device',
72 'ios32_sim_dbg': 'ios_gyp_debug_bot_x86',
73 'ios64_sim_dbg': 'ios_gyp_debug_bot_x64',
74 'ios64_gn_dbg': 'ios_gn_debug_bot_arm64_device',
75 'ios64_gn_rel': 'ios_gn_release_bot_arm64_device',
ehmaldonado09abaa02016-08-09 02:26:16 -070076
77 # Linux
kjellander3cb0c572016-08-09 13:00:57 -070078 'linux_compile_dbg': 'gyp_debug_bot_x64',
79 'linux_compile_rel': 'gyp_release_bot_x64',
80 'linux_dbg': 'gyp_debug_bot_x64',
81 'linux_rel': 'gyp_release_bot_x64',
82 'linux_gn_dbg': 'gn_debug_bot_x64',
83 'linux_gn_rel': 'gn_release_bot_x64',
kjellander5d6b84c2016-08-09 13:17:40 -070084 'linux_arm': 'gyp_crosscompile_release_bot_arm',
kjellander3cb0c572016-08-09 13:00:57 -070085 'linux_asan': 'gyp_asan_lsan_clang_release_bot_x64',
86 'linux_memcheck': 'gyp_memcheck_release_bot_x64',
87 'linux_msan': 'gyp_msan_clang_release_bot_x64',
88 'linux_tsan2': 'gyp_tsan_clang_release_bot_x64',
89 'linux_ubsan': 'gyp_ubsan_clang_release_bot_x64',
90 'linux_ubsan_vptr': 'gyp_ubsan_vptr_clang_release_bot_x64',
91 'linux_baremetal': 'gyp_release_bot_x64',
92 'linux_swarming': 'swarming_gyp_debug_bot_x64',
ehmaldonado89b0ca82016-08-09 08:15:03 -070093
94 # Android
kjellander68815bf2016-08-10 09:49:37 -070095 'android_compile_dbg': 'android_gyp_debug_static_bot_arm',
kjellander3cb0c572016-08-09 13:00:57 -070096 'android_compile_rel': 'android_gyp_release_bot_arm',
kjellander68815bf2016-08-10 09:49:37 -070097 'android_compile_arm64_dbg': 'android_gyp_debug_static_bot_arm64',
kjellander3cb0c572016-08-09 13:00:57 -070098 'android_compile_arm64_rel': 'android_gyp_release_bot_arm64',
kjellander68815bf2016-08-10 09:49:37 -070099 'android_compile_x86_dbg': 'android_gyp_debug_static_bot_x86',
kjellander3cb0c572016-08-09 13:00:57 -0700100 'android_compile_x86_rel': 'android_gyp_release_bot_x86',
kjellander68815bf2016-08-10 09:49:37 -0700101 'android_compile_x64_dbg': 'android_gyp_debug_static_bot_x64',
102 'android_compile_mips_dbg': 'android_gyp_clang_debug_static_bot_mipsel',
103 'android_dbg': 'android_gyp_debug_static_bot_arm',
kjellander3cb0c572016-08-09 13:00:57 -0700104 'android_rel': 'android_gyp_release_bot_arm',
kjellander68815bf2016-08-10 09:49:37 -0700105 'android_clang_dbg': 'android_gyp_clang_debug_static_bot_arm',
kjellander63cb1722016-08-10 08:28:25 -0700106 'android_arm64_rel': 'android_gyp_release_bot_arm64',
kjellander68815bf2016-08-10 09:49:37 -0700107 'android_n6': 'android_gyp_debug_static_bot_arm',
108 'android_gn_dbg': 'android_gn_debug_static_bot_arm',
kjellander3cb0c572016-08-09 13:00:57 -0700109 'android_gn_rel': 'android_gn_release_bot_arm',
ehmaldonadod046d982016-08-08 06:59:14 -0700110 },
111 },
112
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100113 # This is the list of configs that you can pass to mb; each config
114 # represents a particular combination of GYP_DEFINES/gn args that
115 # we must support. A given config *may* be platform-specific but
116 # is not necessarily so (i.e., we might have mac, win, and linux
117 # bots all using the 'gn_release_bot' config).
118 'configs': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700119 # iOS
ehmaldonadod046d982016-08-08 06:59:14 -0700120 'ios_gn_debug_bot_arm64_device': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700121 'ios', 'gn', 'ios_debug_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700122 ],
123 'ios_gn_release_bot_arm64_device': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700124 'ios', 'gn', 'ios_release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700125 ],
126 'ios_gyp_debug_bot_arm_device': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700127 'ios', 'gyp', 'ios_debug_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700128 ],
129 'ios_gyp_release_bot_arm_device': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700130 'ios', 'gyp', 'ios_release_bot', 'arm', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700131 ],
132 'ios_gyp_debug_bot_arm64_device': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700133 'ios', 'gyp', 'ios_debug_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700134 ],
135 'ios_gyp_release_bot_arm64_device': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700136 'ios', 'gyp', 'ios_release_bot', 'arm64', 'device'
ehmaldonadod046d982016-08-08 06:59:14 -0700137 ],
138 'ios_gyp_debug_bot_x86': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700139 'ios', 'gyp', 'ios_debug_bot', 'x86'
ehmaldonadod046d982016-08-08 06:59:14 -0700140 ],
141 'ios_gyp_debug_bot_x64': [
ehmaldonado09abaa02016-08-09 02:26:16 -0700142 'ios', 'gyp', 'ios_release_bot', 'x64'
ehmaldonadod046d982016-08-08 06:59:14 -0700143 ],
ehmaldonado09abaa02016-08-09 02:26:16 -0700144
145 # Linux
kjellander5d6b84c2016-08-09 13:17:40 -0700146 'gyp_crosscompile_release_bot_arm': [
147 'gyp', 'crosscompile', 'openh264_release_bot', 'arm'
ehmaldonado09abaa02016-08-09 02:26:16 -0700148 ],
149 'gyp_debug_bot_x86': [
kjellander3cb0c572016-08-09 13:00:57 -0700150 'gyp', 'openh264_debug_bot', 'x86'
ehmaldonado09abaa02016-08-09 02:26:16 -0700151 ],
152 'gyp_release_bot_x86': [
kjellander3cb0c572016-08-09 13:00:57 -0700153 'gyp', 'openh264_release_bot', 'x86'
ehmaldonado09abaa02016-08-09 02:26:16 -0700154 ],
155 'gyp_debug_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700156 'gyp', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700157 ],
158 'gyp_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700159 'gyp', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700160 ],
161 'gyp_asan_lsan_clang_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700162 'gyp', 'asan', 'lsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700163 ],
164 'gyp_memcheck_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700165 'gyp', 'memcheck', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700166 ],
167 'gyp_msan_clang_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700168 'gyp', 'msan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700169 ],
170 'gyp_tsan_clang_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700171 'gyp', 'tsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700172 ],
173 'gyp_ubsan_clang_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700174 'gyp', 'ubsan', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700175 ],
176 'gyp_ubsan_vptr_clang_release_bot_x64': [
kjellander3cb0c572016-08-09 13:00:57 -0700177 'gyp', 'ubsan_vptr', 'clang', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700178 ],
kjellander3cb0c572016-08-09 13:00:57 -0700179 'gn_debug_bot_x64': [
180 'gn', 'openh264_debug_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700181 ],
kjellander3cb0c572016-08-09 13:00:57 -0700182 'gn_release_bot_x64': [
183 'gn', 'openh264_release_bot', 'x64'
ehmaldonado09abaa02016-08-09 02:26:16 -0700184 ],
kjellander3cb0c572016-08-09 13:00:57 -0700185 'swarming_gyp_debug_bot_x64': [
186 'swarming', 'gyp', 'openh264_debug_bot', 'x64'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700187 ],
188
189 # Android
kjellander68815bf2016-08-10 09:49:37 -0700190 'android_gyp_debug_static_bot_arm': [
191 'android', 'gyp', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700192 ],
kjellander3cb0c572016-08-09 13:00:57 -0700193 'android_gyp_release_bot_arm': [
194 'android', 'gyp', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700195 ],
kjellander68815bf2016-08-10 09:49:37 -0700196 'android_gyp_debug_static_bot_x86': [
197 'android', 'gyp', 'debug_static_bot', 'x86'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700198 ],
kjellander3cb0c572016-08-09 13:00:57 -0700199 'android_gyp_release_bot_x86': [
200 'android', 'gyp', 'release_bot', 'x86'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700201 ],
kjellander68815bf2016-08-10 09:49:37 -0700202 'android_gyp_clang_debug_static_bot_arm': [
203 'android', 'gyp', 'clang', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700204 ],
kjellander68815bf2016-08-10 09:49:37 -0700205 'android_gyp_clang_debug_static_bot_mipsel': [
206 'android', 'gyp', 'clang', 'debug_static_bot', 'mipsel'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700207 ],
kjellander68815bf2016-08-10 09:49:37 -0700208 'android_gyp_debug_static_bot_arm64': [
209 'android', 'gyp', 'debug_static_bot', 'arm64'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700210 ],
kjellander3cb0c572016-08-09 13:00:57 -0700211 'android_gyp_release_bot_arm64': [
212 'android', 'gyp', 'release_bot', 'arm64'
213 ],
kjellander68815bf2016-08-10 09:49:37 -0700214 'android_gyp_debug_static_bot_x64': [
215 'android', 'gyp', 'debug_static_bot', 'x64'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700216 ],
kjellander68815bf2016-08-10 09:49:37 -0700217 'android_gn_debug_static_bot_arm': [
218 'android', 'gn', 'debug_static_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700219 ],
kjellander3cb0c572016-08-09 13:00:57 -0700220 'android_gn_release_bot_arm': [
221 'android', 'gn', 'release_bot', 'arm'
ehmaldonado89b0ca82016-08-09 08:15:03 -0700222 ],
223
224 # This is used for tracking purposes; any bot that uses this config
225 # should never actually run MB.
226 'none': [
227 'error',
228 ],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100229 },
230
231 # This is a dict mapping a given 'mixin' name to a dict of settings that
232 # mb should use. See //tools/mb/docs/user_guide.md for more information.
233 'mixins': {
ehmaldonado89b0ca82016-08-09 08:15:03 -0700234 'android': {
235 'gn_args': 'target_os="android"',
236 'gyp_defines': 'OS=android',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100237 },
238
239 'arm': {
240 'gn_args': 'target_cpu="arm"',
241 'gyp_defines': 'target_arch=arm',
242 },
243
244 'arm64': {
245 'gn_args': 'target_cpu="arm64"',
246 'gyp_defines': 'target_arch=arm64',
247 },
248
ehmaldonado09abaa02016-08-09 02:26:16 -0700249 'asan': {
250 'gn_args': 'is_asan=true',
251 'gyp_defines': 'asan=1',
252 },
253
254 'clang': {
255 'gn_args': 'is_clang=true',
256 'gyp_defines': 'clang=1',
257 },
258
kjellander5d6b84c2016-08-09 13:17:40 -0700259 'crosscompile': {
260 # This mixin is only needed on GYP bots that are doing cross-compiles
261 # but are *not* targetting Android or iOS (where
262 # webrtc/build/gyp_webrtc.py will set the crosscompile variable
263 # automatically). It is not need in GN at all.
264 'gyp_crosscompile': True,
265 },
266
ehmaldonado09abaa02016-08-09 02:26:16 -0700267 'dcheck_always_on': {
268 'gn_args': 'dcheck_always_on=true',
269 'gyp_defines': 'dcheck_always_on=1',
270 },
271
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100272 'debug': {
273 'gn_args': 'is_debug=true',
274 },
275
276 'debug_bot': {
ehmaldonado09abaa02016-08-09 02:26:16 -0700277 'mixins': ['debug', 'shared', 'goma'],
278 },
279
kjellander68815bf2016-08-10 09:49:37 -0700280 'debug_static_bot': {
281 'mixins': ['debug', 'static', 'minimal_symbols', 'goma'],
282 },
283
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100284 'device': {
kjellander@webrtc.org0c74ae12016-02-25 08:41:10 +0100285 'gn_args': 'ios_enable_code_signing=false',
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100286 'gyp_defines': 'chromium_ios_signing=0',
287 },
288
ehmaldonado89b0ca82016-08-09 08:15:03 -0700289 # This mixin is used to force configs that use it to fail. It
290 # is used in two cases: when we have bots that we haven't looked
291 # at yet and don't know whether they need MB or not, and for bots
292 # that are test-only and should never run MB.
293 'error': {
294 'gn_args': 'error',
295 'gyp_defines': 'target_arch=unknown',
296 },
297
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100298 'gn': {'type': 'gn'},
299
ehmaldonado09abaa02016-08-09 02:26:16 -0700300 'goma': {
301 # The MB code will properly escape goma_dir if necessary in the GYP
302 # code path; the GN code path needs no escaping.
303 'gn_args': 'use_goma=true',
304 'gyp_defines': 'use_goma=1',
305 },
306
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100307 'gyp': {'type': 'gyp'},
308
ehmaldonado89b0ca82016-08-09 08:15:03 -0700309 'ios': {
310 'gn_args': 'target_os="ios"',
311 'gyp_defines': 'OS=ios',
312 },
313
ehmaldonado09abaa02016-08-09 02:26:16 -0700314 'ios_debug_bot': {
315 'mixins': ['debug', 'shared']
316 },
317
ehmaldonado09abaa02016-08-09 02:26:16 -0700318 'ios_release_bot': {
319 'mixins': ['release', 'static']
320 },
321
ehmaldonado09abaa02016-08-09 02:26:16 -0700322 'lsan': {
323 'gn_args': 'is_lsan=true',
324 'gyp_defines': 'lsan=1',
325 },
326
327 'memcheck': {
328 'gyp_defines': 'build_for_tool=memcheck',
329 },
330
kjellander68815bf2016-08-10 09:49:37 -0700331 'minimal_symbols': {
332 'gn_args': 'symbol_level=1',
333 'gyp_defines': 'fastbuild=1',
334 },
335
ehmaldonado89b0ca82016-08-09 08:15:03 -0700336 'mipsel': {
337 'gn_args': 'target_cpu="mipsel"',
338 'gyp_defines': 'target_arch=mipsel',
339 },
340
ehmaldonado09abaa02016-08-09 02:26:16 -0700341 'msan': {
342 'gn_args': ('is_msan=true msan_track_origins=2 '
343 'use_prebuilt_instrumented_libraries=true'),
344 'gyp_defines': ('msan=1 msan_track_origins=2 '
345 'use_prebuilt_instrumented_libraries=1'),
346 },
347
ehmaldonado09abaa02016-08-09 02:26:16 -0700348 'openh264': {
349 'gn_args': 'ffmpeg_branding="Chrome" rtc_use_h264=true',
350 'gyp_defines': 'ffmpeg_branding=Chrome rtc_use_h264=1',
351 },
352
kjellander3cb0c572016-08-09 13:00:57 -0700353 'openh264_debug_bot': {
354 'mixins': ['openh264', 'debug_bot'],
355 },
356
357 'openh264_release_bot': {
358 'mixins': ['openh264', 'release_bot'],
359 },
360
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100361 'release': {
362 'gn_args': 'is_debug=false',
363 },
364
365 'release_bot': {
kjellander3cb0c572016-08-09 13:00:57 -0700366 'mixins': ['release', 'static', 'dcheck_always_on', 'goma'],
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100367 },
368
369 'shared': {
370 'gn_args': 'is_component_build=true',
371 'gyp_defines': 'component=shared_library',
372 },
373
374 'static': {
375 'gn_args': 'is_component_build=false',
376 'gyp_defines': 'component=static_library',
377 },
378
ehmaldonado09abaa02016-08-09 02:26:16 -0700379 'swarming': {
380 'gn_args': '',
381 'gyp_defines': 'test_isolation_mode=prepare',
382 },
383
kjellander3cb0c572016-08-09 13:00:57 -0700384 'tsan': {
385 'gn_args': 'is_tsan=true',
386 'gyp_defines': 'tsan=1',
387 },
388
ehmaldonado09abaa02016-08-09 02:26:16 -0700389 'ubsan': {
390 'gn_args': 'is_ubsan=true',
391 'gyp_defines': 'ubsan=1',
392 },
393
394 'ubsan_vptr': {
395 'gn_args': 'is_ubsan_vptr=true',
396 'gyp_defines': 'ubsan_vptr=1',
397 },
398
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100399 'x64': {
400 'gn_args': 'target_cpu="x64"',
401 'gyp_defines': 'target_arch=x64',
402 },
403
404 'x86': {
405 'gn_args': 'target_cpu="x86"',
406 'gyp_defines': 'target_arch=ia32',
407 },
408 },
kjellander@webrtc.org861dcb72016-02-24 21:36:40 +0100409}