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_release_bot': ['gn', 'release_bot'],
25 'gn_release_bot_x86': ['gn', 'release_bot', 'x86'],
26 'gn_release_trybot': ['gn', 'release_trybot'],
27 'gn_release_trybot_x86': ['gn', 'release_trybot', 'x86'],
28 'gn_debug_bot': ['gn', 'debug_bot'],
29 'gn_debug_static_bot': ['gn', 'debug_static_bot'],
30 'gn_debug_static_bot_x86': ['gn', 'debug_static_bot', 'x86'],
31 'gyp_release_bot': ['gyp', 'release_bot'],
34 # This is a list of configs that do not actually exist on any bot
35 # but are used so commonly by devs that we must support them.
36 'common_dev_configs': [
43 # This is a list of configs that some private (not publicly accessible)
44 # bot somewhere uses and that we must support. Ideally we should actually
45 # have a bot for each of these on the public waterfall. Each config should
46 # at least have a contact listed.
50 # This is a list of configs that are not commonly used by that we should
51 # make some effort to support, but if it breaks that is not the end of
52 # the world. Each config should have a contact listed, and we expect the
53 # contact to be on the hook for fixing the config.
54 'unsupported_configs': [
57 # This is a dict mapping a given 'mixin' name to a dict of settings that
58 # mb should use. See //tools/mb/docs/user_guide.md for more information.
61 'gn_args': 'target_os="android"',
62 'gyp_defines': 'OS=android',
66 'gn_args': 'target_os="chromeos"',
67 'gyp_defines': 'chromeos=1',
71 'gn_args': 'dcheck_always_on=true',
72 'gyp_defines': 'dcheck_always_on=1',
76 'gn_args': 'is_debug=true',
77 'gyp_config': 'Debug',
80 'debug_bot': {'mixins': ['debug', 'shared', 'minimal_symbols', 'goma']},
83 'mixins': ['debug', 'static', 'minimal_symbols', 'goma']
87 'gn_args': 'symbol_level=2',
88 'gyp_defines': 'fastbuild=0',
94 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"',
95 'gyp_defines': 'goma=1 gomadir=$(goma_dir)',
98 'gyp': {'type': 'gyp'},
101 'gn_args': 'symbol_level=1',
102 'gyp_defines': 'fastbuild=1',
106 'gn_args': 'is_debug=false',
107 'gyp_config': 'Release',
111 'mixins': ['release', 'static', 'minimal_symbols', 'goma'],
115 'mixins': ['release_bot', 'dcheck_always_on']
119 'gn_args': 'is_component_build=true',
120 'gyp_defines': 'component=shared_library',
124 'gn_args': 'is_component_build=false',
125 'gyp_defines': 'component=static_library',
129 'gn_args': 'target_cpu="x86"',
130 'gyp_args': 'target_arch=ia32',
135 # This is a map of buildbot master names -> buildbot builder names ->
136 # config names (where each config name is a key in the 'configs' dict,
137 # above). mb uses this dict to look up which config to use for a given bot.
138 # TODO(dpranke): add in remaining bots on the waterfalls.
140 'chromium.chromiumos': {
141 'Linux ChromiumOS GN': 'chromeos_gn_release_bot',
142 'Linux ChromiumOS GN (dbg)': 'chromeos_gn_debug_bot',
145 'Android GN': 'android_gn_release_bot',
146 'Linux Builder': 'gyp_release_bot',
147 'Linux GN': 'gn_release_bot',
148 'Linux GN (dbg)': 'gn_debug_bot',
149 'Linux Tests': 'gyp_release_bot',
152 'Mac GN': 'gn_release_bot',
153 'Mac GN (dbg)': 'gn_debug_static_bot',
156 'Win x64 GN': 'gn_release_bot',
157 'Win x64 GN (dbg)': 'gn_debug_static_bot',
158 'Win8 GN': 'gn_release_bot_x86',
159 'Win8 GN (dbg)': 'gn_debug_static_bot_x86',
162 'Android GN': 'android_gn_release_bot',
163 'Android GN (dbg)': 'android_gn_debug_bot',
164 'Linux GN': 'gn_release_bot',
165 'Linux GN (dbg)': 'gn_debug_bot'
168 'V8 Linux GN': 'gn_release_bot',
169 'V8 Android GN (dbg)': 'android_gn_debug_bot',
172 'android_blink_compile_dbg': 'android_gyp_debug_bot',
173 'android_blink_compile_rel': 'android_gyp_release_trybot',
174 'android_chromium_gn_compile_rel': 'android_gn_release_bot',
175 'linux_chromium_gn_rel': 'gn_release_bot',
177 'tryserver.chromium.linux': {
178 'android_chromium_gn_compile_dbg': 'android_gn_debug_bot',
179 'android_chromium_gn_compile_rel': 'android_gn_release_trybot',
180 'linux_chromium_gn_chromeos_rel': 'chromeos_gn_release_trybot',
181 'linux_chromium_gn_chromeos_dbg': 'chromeos_gn_debug_bot',
182 'linux_chromium_gn_dbg': 'gn_debug_bot',
183 'linux_chromium_gn_rel': 'gn_release_trybot',
184 'linux_chromium_gn_upload_x64': 'gn_release_bot',
185 'linux_chromium_gn_upload_x86': 'gn_release_bot_x86',
187 'tryserver.chromium.mac': {
188 'mac_chromium_gn_dbg': 'gn_debug_static_bot',
189 'mac_chromium_gn_rel': 'gn_release_trybot',
190 'mac_chromium_gn_upload': 'gn_release_bot',
192 'tryserver.chromium.win': {
193 'win_chromium_gn_x64_dbg': 'gn_debug_static_bot',
194 'win_chromium_gn_x64_rel': 'gn_release_trybot',
195 'win8_chromium_gn_dbg': 'gn_debug_static_bot_x86',
196 'win8_chromium_gn_rel': 'gn_release_trybot_x86',
197 'win8_chromium_gn_upload': 'gn_release_bot',
200 'v8_linux_chromium_gn_rel': 'gn_release_trybot',
201 'v8_android_chromium_gn_dbg': 'android_gn_debug_bot',