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 'chromeos_gn_debug_bot': ['chromeos', 'gn', 'debug_bot'],
16 'chromeos_gn_release_bot': ['chromeos', 'gn', 'release_bot'],
17 'chromeos_gn_release_trybot': ['chromeos', 'gn', 'release_trybot'],
18 'dev_gn_debug': ['gn', 'debug', 'shared', 'full_symbols'],
19 'dev_gyp_debug': ['gyp', 'debug', 'shared', 'full_symbols'],
20 'dev_gn_release': ['gn', 'release', 'shared'],
21 'dev_gyp_release': ['gyp', 'release', 'shared'],
22 'gn_release_bot': ['gn', 'release_bot'],
23 'gn_release_bot_x86': ['gn', 'release_bot', 'x86'],
24 'gn_release_trybot': ['gn', 'release_trybot'],
25 'gn_debug_bot': ['gn', 'debug_bot'],
26 'gyp_release_bot': ['gyp', 'release_bot'],
29 # This is a list of configs that do not actually exist on any bot
30 # but are used so commonly by devs that we must support them.
31 'common_dev_configs': [
38 # This is a list of configs that some private (not publicly accessible)
39 # bot somewhere uses and that we must support. Ideally we should actually
40 # have a bot for each of these on the public waterfall. Each config should
41 # at least have a contact listed.
45 # This is a list of configs that are not commonly used by that we should
46 # make some effort to support, but if it breaks that is not the end of
47 # the world. Each config should have a contact listed, and we expect the
48 # contact to be on the hook for fixing the config.
49 'unsupported_configs': [
52 # This is a dict mapping a given 'mixin' name to a dict of settings that
53 # mb should use. See //tools/mb/docs/user_guide.md for more information.
56 'gn_args': 'target_os="android"',
57 'gyp_defines': 'OS=android',
61 'gn_args': 'target_os="chromeos"',
62 'gyp_defines': 'chromeos=1',
66 'gn_args': 'dcheck_always_on=true',
67 'gyp_defines': 'dcheck_always_on=1',
71 'gn_args': 'is_debug=true',
72 'gyp_config': 'Debug',
75 'debug_bot': {'mixins': ['debug', 'shared', 'minimal_symbols', 'goma']},
78 'gn_args': 'symbol_level=2',
79 'gyp_defines': 'fastbuild=0',
85 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"',
86 'gyp_defines': 'goma=1 gomadir=$(goma_dir)',
89 'gyp': {'type': 'gyp'},
92 'gn_args': 'symbol_level=1',
93 'gyp_defines': 'fastbuild=1',
97 'gn_args': 'is_debug=false',
98 'gyp_config': 'Release',
102 'mixins': ['release', 'static', 'minimal_symbols', 'goma'],
106 'mixins': ['release_bot', 'dcheck_always_on']
110 'gn_args': 'is_component_build=true',
111 'gyp_defines': 'component=shared_library',
115 'gn_args': 'is_component_build=false',
116 'gyp_defines': 'component=static_library',
120 'gn_args': 'target_cpu="x86"',
121 'gyp_args': 'target_arch=ia32',
126 # This is a map of buildbot master names -> buildbot builder names ->
127 # config names (where each config name is a key in the 'configs' dict,
128 # above). mb uses this dict to look up which config to use for a given bot.
129 # TODO(dpranke): add in remaining bots on the waterfalls.
131 'chromium.chromeos': {
132 'Linux ChromiumOS GN': 'chromeos_gn_release_bot',
135 'Android GN': 'android_gn_release_bot',
136 'Linux Builder': 'gyp_release_bot',
137 'Linux GN': 'gn_release_bot',
138 'Linux GN (dbg)': 'gn_debug_bot',
139 'Linux Tests': 'gyp_release_bot',
142 'Mac GN': 'gn_release_bot',
143 'Mac GN (dbg)': 'gn_debug_bot',
146 'Win8 GN': 'gn_release_bot',
147 'Win8 GN (dbg)': 'gn_debug_bot',
149 'tryserver.chromium.linux': {
150 'android_chromium_gn_dbg': 'android_gn_debug_bot',
151 'android_chromium_gn_rel': 'android_gn_release_trybot',
152 'linux_chromiumos_chromium_gn_rel': 'chromeos_gn_release_trybot',
153 'linux_chromiumos_chromium_gn_dbg': 'chromeos_gn_debug_bot',
154 'linux_chromium_gn_dbg': 'gn_debug_bot',
155 'linux_chromium_gn_rel': 'gn_release_trybot',
156 'linux_chromium_gn_upload_x64': 'gn_release_bot',
157 'linux_chromium_gn_upload_x86': 'gn_release_bot_x86',
159 'tryserver.chromium.mac': {
160 'mac_chromium_gn_dbg': 'gn_debug_bot',
161 'mac_chromium_gn_rel': 'gn_release_trybot',
162 'mac_chromium_gn_upload': 'gn_release_bot',
164 'tryserver.chromium.win': {
165 'win8_chromium_gn_dbg': 'gn_debug_bot',
166 'win8_chromium_gn_rel': 'gn_release_trybot',
167 'win8_chromium_gn_upload': 'gn_release_bot',