Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: tools/mb/mb_config.pyl

Issue 1062613004: Implement mb - a meta-build wrapper for bots to use in the GYP->GN migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bug fixes and tests, reorganize mb_config.pyl Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/mb/mb.py ('k') | tools/mb/mb_unittest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
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 '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'],
27 },
28
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': [
32 'dev_gn_debug',
33 'dev_gn_release',
34 'dev_gyp_debug',
35 'dev_gyp_release',
36 ],
37
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.
42 'private_configs': [
43 ],
44
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': [
50 ],
51
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.
54 'mixins': {
55 'android': {
56 'gn_args': 'target_os="android"',
57 'gyp_defines': 'OS=android',
58 },
59
60 'chromeos': {
61 'gn_args': 'target_os="chromeos"',
62 'gyp_defines': 'chromeos=1',
63 },
64
65 'dcheck_always_on': {
66 'gn_args': 'dcheck_always_on=true',
67 'gyp_defines': 'dcheck_always_on=1',
68 },
69
70 'debug': {
71 'gn_args': 'is_debug=true',
72 'gyp_config': 'Debug',
73 },
74
75 'debug_bot': {'mixins': ['debug', 'shared', 'minimal_symbols', 'goma']},
76
77 'full_symbols': {
78 'gn_args': 'symbol_level=2',
79 'gyp_defines': 'fastbuild=0',
80 },
81
82 'gn': {'type': 'gn'},
83
84 'goma': {
85 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"',
86 'gyp_defines': 'goma=1 gomadir=$(goma_dir)',
87 },
88
89 'gyp': {'type': 'gyp'},
90
91 'minimal_symbols': {
92 'gn_args': 'symbol_level=1',
93 'gyp_defines': 'fastbuild=1',
94 },
95
96 'release': {
97 'gn_args': 'is_debug=false',
98 'gyp_config': 'Release',
99 },
100
101 'release_bot': {
102 'mixins': ['release', 'static', 'minimal_symbols', 'goma'],
103 },
104
105 'release_trybot': {
106 'mixins': ['release_bot', 'dcheck_always_on', 'goma']
107 },
108
109 'shared': {
110 'gn_args': 'is_component_build=true',
111 'gyp_defines': 'component=shared_library',
112 },
113
114 'static': {
115 'gn_args': 'is_component_build=false',
116 'gyp_defines': 'component=static_library',
117 },
118
119 'x86': {
120 'gn_args': 'target_cpu="x86"',
121 'gyp_args': 'target_arch=ia32',
122 },
123 },
124
125
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.
130 'masters': {
131 'chromium.chromeos': {
132 'Linux ChromiumOS GN': 'chromeos_gn_release_bot',
133 },
134 'chromium.linux': {
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',
140 },
141 'chromium.mac': {
142 'Mac GN': 'gn_release_bot',
143 'Mac GN (dbg)': 'gn_debug_bot',
144 },
145 'chromium.win': {
146 'Win8 GN': 'gn_release_bot',
147 'Win8 GN (dbg)': 'gn_debug_bot',
148 },
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',
158 },
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',
163 },
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',
168 },
169 },
170 }
OLDNEW
« no previous file with comments | « tools/mb/mb.py ('k') | tools/mb/mb_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698