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

Side by Side Diff: masters/master.client.webrtc/master_android_cfg.py

Issue 2222163004: convert most webrtc builders to remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 from buildbot.schedulers.basic import SingleBranchScheduler 5 from buildbot.schedulers.basic import SingleBranchScheduler
6 6
7 from master.factory import annotator_factory 7 from master.factory import remote_run_factory
8 8
9 m_annotator = annotator_factory.AnnotatorFactory() 9 import master_site_config
10 ActiveMaster = master_site_config.WebRTC
11
12
13 def m_remote_run(recipe, **kwargs):
14 return remote_run_factory.RemoteRunFactory(
15 active_master=ActiveMaster,
16 repository='https://chromium.googlesource.com/chromium/tools/build.git',
17 recipe=recipe,
18 factory_properties={'path_config': 'kitchen'},
19 **kwargs)
20
10 21
11 def Update(c): 22 def Update(c):
12 c['schedulers'].extend([ 23 c['schedulers'].extend([
13 SingleBranchScheduler(name='webrtc_android_scheduler', 24 SingleBranchScheduler(name='webrtc_android_scheduler',
14 branch='master', 25 branch='master',
15 treeStableTimer=30, 26 treeStableTimer=30,
16 builderNames=[ 27 builderNames=[
17 'Android32 Builder', 28 'Android32 Builder',
18 'Android32 Builder (dbg)', 29 'Android32 Builder (dbg)',
19 'Android32 Builder x86', 30 'Android32 Builder x86',
(...skipping 25 matching lines...) Expand all
45 {'name': 'Android32 Tests (L Nexus5)(dbg)'}, 56 {'name': 'Android32 Tests (L Nexus5)(dbg)'},
46 {'name': 'Android32 Tests (L Nexus7.2)(dbg)'}, 57 {'name': 'Android32 Tests (L Nexus7.2)(dbg)'},
47 {'name': 'Android64 Tests (L Nexus9)'}, 58 {'name': 'Android64 Tests (L Nexus9)'},
48 {'name': 'Android32 Tests (L Nexus5)'}, 59 {'name': 'Android32 Tests (L Nexus5)'},
49 {'name': 'Android32 Tests (L Nexus7.2)'}, 60 {'name': 'Android32 Tests (L Nexus7.2)'},
50 ] 61 ]
51 62
52 c['builders'].extend([ 63 c['builders'].extend([
53 { 64 {
54 'name': spec['name'], 65 'name': spec['name'],
55 'factory': m_annotator.BaseFactory('webrtc/standalone'), 66 'factory': m_remote_run('webrtc/standalone'),
56 'notify_on_missing': True, 67 'notify_on_missing': True,
57 'category': 'android', 68 'category': 'android',
58 'slavebuilddir': spec.get('slavebuilddir', 'android'), 69 'slavebuilddir': spec.get('slavebuilddir', 'android'),
59 } for spec in specs 70 } for spec in specs
60 ]) 71 ])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698