[Sync] Test Android passphrase creation UI
[chromium-blink-merge.git] / tools / mb / mb_config.pyl
blob1ec74f9a3c0d8eac1042768e78c9118f8188c2f5
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).
11   'configs': {
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_bot_x86': ['gn', 'debug_bot', 'x86'],
30     'gn_debug_static_bot': ['gn', 'debug_static_bot'],
31     'gn_debug_static_bot_x86': ['gn', 'debug_static_bot', 'x86'],
32     'gyp_release_bot': ['gyp', 'release_bot'],
33   },
34   
35   # This is a list of configs that do not actually exist on any bot
36   # but are used so commonly by devs that we must support them.
37   'common_dev_configs': [
38     'dev_gn_debug',
39     'dev_gn_release',
40     'dev_gyp_debug',
41     'dev_gyp_release',
42   ],
43   
44   # This is a list of configs that some private (not publicly accessible)
45   # bot somewhere uses and that we must support. Ideally we should actually
46   # have a bot for each of these on the public waterfall. Each config should
47   # at least have a contact listed.
48   'private_configs': [
49   ],
51   # This is a list of configs that are not commonly used by that we should
52   # make some effort to support, but if it breaks that is not the end of
53   # the world. Each config should have a contact listed, and we expect the
54   # contact to be on the hook for fixing the config.
55   'unsupported_configs': [
56   ],
57   
58   # This is a dict mapping a given 'mixin' name to a dict of settings that
59   # mb should use. See //tools/mb/docs/user_guide.md for more information.
60   'mixins': {
61     'android': {
62       'gn_args': 'target_os="android"',
63       'gyp_defines': 'OS=android',
64     },
66     'chromeos': {
67       'gn_args': 'target_os="chromeos"',
68       'gyp_defines': 'chromeos=1',
69     },
71     'dcheck_always_on': {
72       'gn_args': 'dcheck_always_on=true',
73       'gyp_defines': 'dcheck_always_on=1',
74     },
76     'debug': {
77       'gn_args': 'is_debug=true',
78       'gyp_config': 'Debug',
79     },
81     'debug_bot': {'mixins': ['debug', 'shared', 'minimal_symbols', 'goma']},
83     'debug_static_bot': {
84       'mixins': ['debug', 'static', 'minimal_symbols', 'goma']
85     },
87     'full_symbols': {
88       'gn_args': 'symbol_level=2',
89       'gyp_defines': 'fastbuild=0',
90     },
92     'gn': {'type': 'gn'},
94     'goma': {
95       'gn_args': 'use_goma=true goma_dir="$(goma_dir)"',
96       'gyp_defines': 'goma=1 gomadir=$(goma_dir)',
97     },
99     'gyp': {'type': 'gyp'},
101     'minimal_symbols': {
102       'gn_args': 'symbol_level=1',
103       'gyp_defines': 'fastbuild=1',
104     },
106     'release': {
107       'gn_args': 'is_debug=false',
108       'gyp_config': 'Release',
109     },
111     'release_bot': {
112       'mixins': ['release', 'static', 'minimal_symbols', 'goma'],
113     },
115     'release_trybot': {
116       'mixins': ['release_bot', 'dcheck_always_on']
117     },
119     'shared': {
120       'gn_args': 'is_component_build=true',
121       'gyp_defines': 'component=shared_library',
122     },
124     'static': {
125       'gn_args': 'is_component_build=false',
126       'gyp_defines': 'component=static_library',
127     },
129     'x86': {
130       'gn_args': 'target_cpu="x86"',
131       'gyp_args': 'target_arch=ia32',
132     },
133   },
136   # This is a map of buildbot master names -> buildbot builder names ->
137   # config names (where each config name is a key in the 'configs' dict,
138   # above). mb uses this dict to look up which config to use for a given bot.
139   # TODO(dpranke): add in remaining bots on the waterfalls.
140   'masters': {
141     'chromium.chromiumos': {
142       'Linux ChromiumOS GN': 'chromeos_gn_release_bot',
143       'Linux ChromiumOS GN (dbg)': 'chromeos_gn_debug_bot',
144     },
145     'chromium.linux': {
146       'Android GN': 'android_gn_release_bot',
147       'Android GN (dbg)': 'android_gn_debug_bot',
148       'Linux Builder': 'gyp_release_bot',
149       'Linux GN': 'gn_release_bot',
150       'Linux GN Clobber': 'gn_release_bot',
151       'Linux GN (dbg)': 'gn_debug_bot',
152       'Linux Tests': 'gyp_release_bot',
153     },
154     'chromium.mac': {
155       'Mac GN': 'gn_release_bot',
156       'Mac GN (dbg)': 'gn_debug_static_bot',
157     },
158     'chromium.win': {
159       'Win x64 GN': 'gn_release_bot',
160       'Win x64 GN (dbg)': 'gn_debug_bot',
161       'Win8 GN': 'gn_release_bot_x86',
162       'Win8 GN (dbg)': 'gn_debug_bot_x86',
163     },
164     'chromium.webkit': {
165       'Android GN': 'android_gn_release_bot',
166       'Android GN (dbg)': 'android_gn_debug_bot',
167       'Linux GN': 'gn_release_bot',
168       'Linux GN (dbg)': 'gn_debug_bot'
169     },
170     'chromium.webrtc.fyi': {
171       'Android GN': 'android_gn_release_bot',
172       'Android GN (dbg)': 'android_gn_debug_bot',
173       'Linux GN': 'gn_release_bot',
174       'Linux GN (dbg)': 'gn_debug_bot',
175       'Mac GN': 'gn_release_bot',
176       'Mac GN (dbg)': 'gn_debug_static_bot',
177       'Win GN': 'gn_release_bot_x86',
178       'Win GN (dbg)': 'gn_debug_static_bot_x86',
179     },
180     'client.v8.fyi': {
181       'V8 Linux GN': 'gn_release_bot',
182       'V8 Android GN (dbg)': 'android_gn_debug_bot',
183     },
184     'tryserver.blink': {
185       'android_blink_compile_dbg': 'android_gyp_debug_bot',
186       'android_blink_compile_rel': 'android_gyp_release_trybot',
187       'android_chromium_gn_compile_rel': 'android_gn_release_bot',
188       'linux_chromium_gn_rel': 'gn_release_bot',
189     },
190     'tryserver.chromium.linux': {
191       'android_chromium_gn_compile_dbg': 'android_gn_debug_bot',
192       'android_chromium_gn_compile_rel': 'android_gn_release_trybot',
193       'linux_chromium_gn_chromeos_rel': 'chromeos_gn_release_trybot',
194       'linux_chromium_gn_chromeos_dbg': 'chromeos_gn_debug_bot',
195       'linux_chromium_gn_dbg': 'gn_debug_bot',
196       'linux_chromium_gn_rel': 'gn_release_trybot',
197       'linux_chromium_gn_upload': 'gn_release_bot',
198       'linux_chromium_gn_upload_x64': 'gn_release_bot', # TODO(dpranke): Remove me.
199       'linux_chromium_gn_upload_x86': 'gn_release_bot_x86', # TODO(dpranke): Remove me.
200     },
201     'tryserver.chromium.mac': {
202       'mac_chromium_gn_dbg': 'gn_debug_static_bot',
203       'mac_chromium_gn_rel': 'gn_release_trybot',
204       'mac_chromium_gn_upload': 'gn_release_bot',
205     },
206     'tryserver.chromium.win': {
207       'win_chromium_gn_x64_dbg': 'gn_debug_static_bot',
208       'win_chromium_gn_x64_rel': 'gn_release_trybot',
209       'win8_chromium_gn_dbg': 'gn_debug_static_bot_x86',
210       'win8_chromium_gn_rel': 'gn_release_trybot_x86',
211       'win8_chromium_gn_upload': 'gn_release_bot',
212     },
213     'tryserver.v8': {
214       'v8_linux_chromium_gn_rel': 'gn_release_trybot',
215       'v8_android_chromium_gn_dbg': 'android_gn_debug_bot',
216     },
217   },