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

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: 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
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 a list of configs that do not actually exist on any bot
7 # but are used so commonly by devs that we must support them.
8 'common_dev_configs': [
brettw 2015/04/06 20:03:05 I like everything being in one file.
Dirk Pranke 2015/04/06 20:09:40 okey doke.
9 'dev_gyp_shared_debug',
10 'dev_gyp_shared_release',
11 ],
12
13 'configs': {
brettw 2015/04/06 20:03:05 It would be nice to have a comment saying what thi
Dirk Pranke 2015/04/06 20:09:40 Will add.
14 'android_gn_release_bot': ['android', 'gn', 'release_bot'],
15 'android_gn_debug_bot': ['android', 'gn', 'debug_bot'],
16 'android_gn_release_trybot': ['android', 'gn', '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 'gn_release_bot': ['gn', 'release_bot'],
21 'gn_release_bot_x86': ['gn', 'release_bot', 'x86'],
22 'gn_release_trybot': ['gn', 'release_trybot'],
23 'gn_debug_bot': ['gn', 'debug_bot'],
24 'gyp_release_bot': ['gyp', 'release_bot'],
25 'dev_gyp_shared_debug': ['gyp', 'debug', 'shared', 'full_symbols'],
26 'dev_gyp_shared_release': ['gyp', 'release', 'shared'],
27 },
28
29 # TODO(dpranke): add in remaining bots on the waterfalls.
brettw 2015/04/06 20:03:05 Ditto, these are groups of bots with friendly-name
Dirk Pranke 2015/04/06 20:09:40 Not exactly, these are maps from master name/build
30 'masters': {
31 'chromium.chromeos': {
32 'Linux ChromiumOS GN': 'chromeos_gn_release_bot',
33 },
34 'chromium.linux': {
35 'Android GN': 'android_gn_release_bot',
36 'Linux Builder': 'gyp_release_bot',
37 'Linux GN': 'gn_release_bot',
38 'Linux GN (dbg)': 'gn_debug_bot',
39 'Linux Tests': 'gyp_release_bot',
40 },
41 'chromium.mac': {
42 'Mac GN': 'gn_release_bot',
43 'Mac GN (dbg)': 'gn_debug_bot',
44 },
45 'chromium.win': {
46 'Win8 GN': 'gn_release_bot',
47 'Win8 GN (dbg)': 'gn_debug_bot',
48 },
49 'tryserver.chromium.linux': {
50 'android_chromium_gn_dbg': 'android_gn_debug_bot',
51 'android_chromium_gn_rel': 'android_gn_release_trybot',
52 'linux_chromiumos_chromium_gn_rel': 'chromeos_gn_release_trybot',
53 'linux_chromiumos_chromium_gn_dbg': 'chromeos_gn_debug_bot',
54 'linux_chromium_gn_dbg': 'gn_debug_bot',
55 'linux_chromium_gn_rel': 'gn_release_trybot',
56 'linux_chromium_gn_upload_x64': 'gn_release_bot',
57 'linux_chromium_gn_upload_x86': 'gn_release_bot_x86',
58 },
59 'tryserver.chromium.mac': {
60 'mac_chromium_gn_dbg': 'gn_debug_bot',
61 'mac_chromium_gn_rel': 'gn_release_trybot',
62 'mac_chromium_gn_upload': 'gn_release_bot',
63 },
64 'tryserver.chromium.win': {
65 'win8_chromium_gn_dbg': 'gn_debug_bot',
66 'win8_chromium_gn_rel': 'gn_release_trybot',
67 'win8_chromium_gn_upload': 'gn_release_bot',
68 },
69 },
70
71 'mixins': {
72 'android': {
73 'gn_args': 'target_os="android"',
74 'gyp_defines': 'OS=android',
75 },
76
77 'chromeos': {
78 'gn_args': 'target_os="chromeos"',
79 'gyp_defines': 'chromeos=1',
80 },
81
82 'dcheck_always_on': {
83 'gn_args': 'dcheck_always_on=true',
84 'gyp_defines': 'dcheck_always_on=1',
85 },
86
87 'debug': {
88 'gn_args': 'is_debug=true',
89 'gyp_config': 'Debug',
90 },
91
92 'debug_bot': {'mixins': ['debug', 'shared', 'minimal_symbols', 'goma']},
93
94 'full_symbols': {
95 'gn_args': 'symbol_level=2',
96 'gyp_defines': 'fastbuild=0',
97 },
98
99 'gn': {'type': 'gn'},
100
101 'goma': {
102 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"',
103 'gyp_defines': 'goma=1 gomadir=$(goma_dir)',
104 },
105
106 'gyp': {'type': 'gyp'},
107
108 'minimal_symbols': {
109 'gn_args': 'symbol_level=1',
110 'gyp_defines': 'fastbuild=1',
111 },
112
113 'release': {
114 'gn_args': 'is_debug=false',
115 'gyp_config': 'Release',
116 },
117
118 'release_bot': {
119 'mixins': ['release', 'static', 'minimal_symbols', 'goma'],
120 },
121
122 'release_trybot': {
123 'mixins': ['release_bot', 'dcheck_always_on', 'goma']
124 },
125
126 'shared': {
127 'gn_args': 'is_component_build=true',
128 'gyp_defines': 'component=shared_library',
129 },
130
131 'static': {
132 'gn_args': 'is_component_build=false',
133 'gyp_defines': 'component=static_library',
134 },
135
136 'x86': {
137 'gn_args': 'target_cpu="x86"',
138 'gyp_args': 'target_arch=ia32',
139 },
140 },
141
142 # This is a list of configs that some private (not publicly accessible)
143 # bot somewhere uses and that we must support. Ideally we should actually
144 # have a bot for each of these on the public waterfall. Each config should
145 # at least have a contact listed.
146 'private_configs': [
147 ],
148
149 # This is a list of configs that are not commonly used by that we should
150 # make some effort to support, but if it breaks that is not the end of
151 # the world. Each config should have a contact listed, and we expect the
152 # contact to be on the hook for fixing the config.
153 'unsupported_configs': [
154 ],
155 }
OLDNEW
« tools/mb/docs/design_spec.md ('K') | « 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