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

Side by Side Diff: masters/master.chromium.perf/master.cfg

Issue 2456143002: Switch Android Compile to the chromium recipe (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This is the buildmaster config file for the 'chromium.perf' bot. It must 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must
6 # be installed as 'master.cfg' in your buildmaster's base directory 6 # be installed as 'master.cfg' in your buildmaster's base directory
7 # (although the filename can be changed with the --basedir option to 7 # (although the filename can be changed with the --basedir option to
8 # 'mktap buildbot master'). 8 # 'mktap buildbot master').
9 9
10 # It has one job: define a dictionary named BuildmasterConfig. This 10 # It has one job: define a dictionary named BuildmasterConfig. This
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 110
111 _category_index = enumerate( 111 _category_index = enumerate(
112 ('builders', 'android', 'win', 'mac', 'linux')) 112 ('builders', 'android', 'win', 'mac', 'linux'))
113 _category_index = {category: index + 1 for index, category in _category_index} 113 _category_index = {category: index + 1 for index, category in _category_index}
114 def _CategoryIndex(category): 114 def _CategoryIndex(category):
115 return _category_index[category] 115 return _category_index[category]
116 116
117 117
118 _builder_names = [] 118 _builder_names = []
119 def _AddBuilder(name, platform, timeout=None, target_bits=64): 119 def _AddBuilder(name, platform, recipe=None, timeout=None, target_bits=64):
120 if platform == 'android': 120 if platform == 'android':
121 factory = recipe_factory 121 factory = recipe_factory
122 recipe = 'android/builder' 122 recipe = recipe or 'android/builder'
123 bb_trigger = True 123 bb_trigger = True
ghost stip (do not use) 2016/10/28 18:42:22 once we convert everything, we can delete this who
dtu 2016/10/28 19:08:58 :)
124 else: 124 else:
125 factory = m_remote_run_chromium_src 125 factory = m_remote_run_chromium_src
126 recipe = 'chromium' 126 recipe = recipe or 'chromium'
127 bb_trigger = False 127 bb_trigger = False
128 128
129 factory_kwargs = dict( 129 factory_kwargs = dict(
130 recipe=recipe, 130 recipe=recipe,
131 ) 131 )
132 if timeout: 132 if timeout:
133 factory_kwargs['timeout'] = timeout 133 factory_kwargs['timeout'] = timeout
134 if bb_trigger: 134 if bb_trigger:
135 factory_kwargs['triggers'] = [_TriggerName(platform, target_bits)] 135 factory_kwargs['triggers'] = [_TriggerName(platform, target_bits)]
136 136
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 for index in xrange(num_shards): 174 for index in xrange(num_shards):
175 indexed_name = '%s (%d)' % (name, index + 1) 175 indexed_name = '%s (%d)' % (name, index + 1)
176 _AddTesterShard( 176 _AddTesterShard(
177 indexed_name, factory, platform, target_bits, bb_trigger=bb_trigger) 177 indexed_name, factory, platform, target_bits, bb_trigger=bb_trigger)
178 178
179 179
180 c['builders'] = [] 180 c['builders'] = []
181 181
182 182
183 _AddBuilder('Android Builder', 'android', target_bits=32) 183 _AddBuilder('Android Builder', 'android', target_bits=32)
184 _AddBuilder('Android Compile', 'android', target_bits=32) 184 _AddBuilder('Android Compile', 'android', target_bits=32, recipe='chromium')
185 _AddBuilder('Android arm64 Builder', 'android') 185 _AddBuilder('Android arm64 Builder', 'android')
186 _AddBuilder('Win Builder', 'win', timeout=3600, target_bits=32) 186 _AddBuilder('Win Builder', 'win', timeout=3600, target_bits=32)
187 # TODO(dtu): decrease the timeout when https://crbug.com/617982 is fixed. 187 # TODO(dtu): decrease the timeout when https://crbug.com/617982 is fixed.
188 _AddBuilder('Win x64 Builder', 'win', timeout=7200) 188 _AddBuilder('Win x64 Builder', 'win', timeout=7200)
189 _AddBuilder('Mac Builder', 'mac') 189 _AddBuilder('Mac Builder', 'mac')
190 # TODO(krasin): decrease the timeout when https://crbug.com/569732 is fixed. 190 # TODO(krasin): decrease the timeout when https://crbug.com/569732 is fixed.
191 _AddBuilder('Linux Builder', 'linux', timeout=4800) 191 _AddBuilder('Linux Builder', 'linux', timeout=4800)
192 192
193 193
194 _AddTester('Android Galaxy S5 Perf', 'android', num_shards=3, target_bits=32) 194 _AddTester('Android Galaxy S5 Perf', 'android', num_shards=3, target_bits=32)
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 287
288 ####### PROJECT IDENTITY 288 ####### PROJECT IDENTITY
289 289
290 # the 'projectName' string will be used to describe the project that this 290 # the 'projectName' string will be used to describe the project that this
291 # buildbot is working on. For example, it is used as the title of the 291 # buildbot is working on. For example, it is used as the title of the
292 # waterfall HTML page. The 'projectURL' string will be used to provide a link 292 # waterfall HTML page. The 'projectURL' string will be used to provide a link
293 # from buildbot HTML pages to your project's home page. 293 # from buildbot HTML pages to your project's home page.
294 294
295 c['projectName'] = ActiveMaster.project_name 295 c['projectName'] = ActiveMaster.project_name
296 c['projectURL'] = config.Master.project_url 296 c['projectURL'] = config.Master.project_url
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698