1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 # This is the list of configs that you can pass to mb; each config
7 # represents a particular combination of GYP_DEFINES/gn args that
8 # we must support. A given config *may* be platform-specific but
9 # is not necessarily so (i.e., we might have mac, win, and linux
10 # bots all using the 'gn_release_bot' config).
12 'android_gn_release_bot': ['android', 'gn', 'release_bot'],
13 'android_gn_debug_bot': ['android', 'gn', 'debug_bot'],
14 'android_gn_release_trybot': ['android', 'gn', 'release_trybot'],
15 'android_gyp_debug_bot': ['android', 'gyp', 'debug_bot'],
16 'android_gyp_release_trybot': ['android', 'gyp', 'release_trybot'],
17 'chromeos_gn_debug_bot': ['chromeos', 'gn', 'debug_bot'],
18 'chromeos_gn_release_bot': ['chromeos', 'gn', 'release_bot'],
19 'chromeos_gn_release_trybot': ['chromeos', 'gn', 'release_trybot'],
20 'dev_gn_debug': ['gn', 'debug', 'shared', 'full_symbols'],
21 'dev_gyp_debug': ['gyp', 'debug', 'shared', 'full_symbols'],
22 'dev_gn_release': ['gn', 'release', 'shared'],
23 'dev_gyp_release': ['gyp', 'release', 'shared'],
24 'gn_linux_upload': ['gn_linux_upload'],
25 'gn_release_bot': ['gn', 'release_bot'],
26 'gn_release_bot_x86': ['gn', 'release_bot', 'x86'],
27 'gn_release_trybot': ['gn', 'release_trybot'],
28 'gn_release_trybot_x86': ['gn', 'release_trybot', 'x86'],
29 'gn_debug_bot': ['gn', 'debug_bot'],
30 'gn_debug_bot_x86': ['gn', 'debug_bot', 'x86'],
31 'gn_debug_static_bot': ['gn', 'debug_static_bot'],
32 'gyp_release_bot': ['gyp', 'release_bot'],
33 # clang/win doesn't work with goma yet, so this can't use debug_bot:
34 'win_clang_debug_bot':
35 ['gn', 'clang', 'debug', 'shared', 'minimal_symbols'],
38 # This is a list of configs that do not actually exist on any bot
39 # but are used so commonly by devs that we must support them.
40 'common_dev_configs': [
47 # This is a list of configs that some private (not publicly accessible)
48 # bot somewhere uses and that we must support. Ideally we should actually
49 # have a bot for each of these on the public waterfall. Each config should
50 # at least have a contact listed.
54 # This is a list of configs that are not commonly used by that we should
55 # make some effort to support, but if it breaks that is not the end of
56 # the world. Each config should have a contact listed, and we expect the
57 # contact to be on the hook for fixing the config.
58 'unsupported_configs': [
61 # This is a dict mapping a given 'mixin' name to a dict of settings that
62 # mb should use. See //tools/mb/docs/user_guide.md for more information.
65 'gn_args': 'target_os="android"',
66 'gyp_defines': 'OS=android',
70 'gn_args': 'target_os="chromeos"',
71 'gyp_defines': 'chromeos=1',
75 'gn_args': 'is_clang=true',
76 'gyp_defines': 'clang=1',
80 'gn_args': 'dcheck_always_on=true',
81 'gyp_defines': 'dcheck_always_on=1',
85 'gn_args': 'is_debug=true',
86 'gyp_config': 'Debug',
89 'debug_bot': {'mixins': ['debug', 'shared', 'minimal_symbols', 'goma']},
92 'mixins': ['debug', 'static', 'minimal_symbols', 'goma']
96 'gn_args': 'symbol_level=2',
97 'gyp_defines': 'fastbuild=0',
103 # We don't want to require a runtime dependency on glib in the
104 # GN binary; ideally we could just turn glib off, but that doesn't
105 # actually work, so we need to pretend to be doing an ozone build
106 # in order for the flag to actually take effect.
107 'gn_args': 'use_ozone=true use_glib=false',
110 'gn': {'type': 'gn'},
113 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"',
114 'gyp_defines': 'goma=1 gomadir=$(goma_dir)',
117 'gyp': {'type': 'gyp'},
120 'gn_args': 'symbol_level=1',
121 'gyp_defines': 'fastbuild=1',
125 'gn_args': 'is_debug=false',
126 'gyp_config': 'Release',
130 'mixins': ['release', 'static', 'minimal_symbols', 'goma'],
134 'mixins': ['release_bot', 'dcheck_always_on']
138 'gn_args': 'is_component_build=true',
139 'gyp_defines': 'component=shared_library',
143 'gn_args': 'is_component_build=false',
144 'gyp_defines': 'component=static_library',
148 'gn_args': 'target_cpu="x86"',
149 'gyp_args': 'target_arch=ia32',
154 # This is a map of buildbot master names -> buildbot builder names ->
155 # config names (where each config name is a key in the 'configs' dict,
156 # above). mb uses this dict to look up which config to use for a given bot.
157 # TODO(dpranke): add in remaining bots on the waterfalls.
159 'chromium.chromiumos': {
160 'Linux ChromiumOS GN': 'chromeos_gn_release_bot',
161 'Linux ChromiumOS GN (dbg)': 'chromeos_gn_debug_bot',
164 'Android GN': 'android_gn_release_bot',
165 'Android GN (dbg)': 'android_gn_debug_bot',
166 'Linux Builder': 'gyp_release_bot',
167 'Linux GN': 'gn_release_bot',
168 'Linux GN Clobber': 'gn_release_bot',
169 'Linux GN (dbg)': 'gn_debug_bot',
170 'Linux Tests': 'gyp_release_bot',
173 'Mac GN': 'gn_release_bot',
174 'Mac GN (dbg)': 'gn_debug_static_bot',
177 'Win x64 GN': 'gn_release_bot',
178 'Win x64 GN (dbg)': 'gn_debug_bot',
179 'Win8 Aura': 'gn_release_bot_x86',
180 'Win8 GN': 'gn_release_bot_x86',
181 'Win8 GN (dbg)': 'gn_debug_bot_x86',
184 'Android GN': 'android_gn_release_bot',
185 'Android GN (dbg)': 'android_gn_debug_bot',
186 'Linux GN': 'gn_release_bot',
187 'Linux GN (dbg)': 'gn_debug_bot'
190 'CrWinClang64(dbg)': 'win_clang_debug_bot',
192 'chromium.webrtc.fyi': {
193 'Android GN': 'android_gn_release_bot',
194 'Android GN (dbg)': 'android_gn_debug_bot',
195 'Linux GN': 'gn_release_bot',
196 'Linux GN (dbg)': 'gn_debug_bot',
197 'Mac GN': 'gn_release_bot',
198 'Mac GN (dbg)': 'gn_debug_static_bot',
199 'Win GN': 'gn_release_bot_x86',
200 'Win GN (dbg)': 'gn_debug_bot_x86',
203 'V8 Linux GN': 'gn_release_bot',
204 'V8 Android GN (dbg)': 'android_gn_debug_bot',
207 'android_blink_compile_dbg': 'android_gyp_debug_bot',
208 'android_blink_compile_rel': 'android_gyp_release_trybot',
209 'android_chromium_gn_compile_rel': 'android_gn_release_bot',
210 'linux_chromium_gn_rel': 'gn_release_bot',
212 'tryserver.chromium.linux': {
213 'android_chromium_gn_compile_dbg': 'android_gn_debug_bot',
214 'android_chromium_gn_compile_rel': 'android_gn_release_trybot',
215 'linux_chromium_gn_chromeos_rel': 'chromeos_gn_release_trybot',
216 'linux_chromium_gn_chromeos_dbg': 'chromeos_gn_debug_bot',
217 'linux_chromium_gn_dbg': 'gn_debug_bot',
218 'linux_chromium_gn_rel': 'gn_release_trybot',
219 'linux_chromium_gn_upload': 'gn_linux_upload',
221 'tryserver.chromium.mac': {
222 'mac_chromium_gn_dbg': 'gn_debug_static_bot',
223 'mac_chromium_gn_rel': 'gn_release_trybot',
224 'mac_chromium_gn_upload': 'gn_release_bot',
226 'tryserver.chromium.win': {
227 'win_chromium_gn_x64_dbg': 'gn_debug_bot',
228 'win_chromium_gn_x64_rel': 'gn_release_trybot',
229 'win8_chromium_ng': 'gn_release_trybot_x86',
230 'win8_chromium_gn_dbg': 'gn_debug_bot_x86',
231 'win8_chromium_gn_rel': 'gn_release_trybot_x86',
232 'win8_chromium_gn_upload': 'gn_release_bot',
233 'win_clang_x64_dbg': 'win_clang_debug_bot',
236 'v8_linux_chromium_gn_rel': 'gn_release_trybot',
237 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot',