OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 annotator_factory |
8 | 8 |
9 m_annotator = annotator_factory.AnnotatorFactory() | 9 m_annotator = annotator_factory.AnnotatorFactory() |
10 | 10 |
11 def Update(c): | 11 def Update(c): |
12 c['schedulers'].extend([ | 12 c['schedulers'].extend([ |
13 SingleBranchScheduler(name='webrtc_mac_scheduler', | 13 SingleBranchScheduler(name='webrtc_mac_scheduler', |
14 branch='master', | 14 branch='master', |
15 treeStableTimer=0, | 15 treeStableTimer=0, |
16 builderNames=[ | 16 builderNames=[ |
17 'Mac64 Debug (parallel)', | 17 'Mac64 Debug (parallel)', |
18 'Mac64 Release (parallel)', | 18 'Mac64 Release (parallel)', |
19 'Mac Asan (parallel)', | 19 'Mac Asan (parallel)', |
20 'iOS32 Simulator Debug', | |
21 'iOS64 Simulator Debug', | |
22 ]), | 20 ]), |
23 ]) | 21 ]) |
24 | 22 |
25 specs = [ | 23 specs = [ |
26 { | 24 { |
27 'name': 'Mac64 Debug (parallel)', | 25 'name': 'Mac64 Debug (parallel)', |
28 'slavebuilddir': 'mac64', | 26 'slavebuilddir': 'mac64', |
29 }, | 27 }, |
30 { | 28 { |
31 'name': 'Mac64 Release (parallel)', | 29 'name': 'Mac64 Release (parallel)', |
32 'slavebuilddir': 'mac64', | 30 'slavebuilddir': 'mac64', |
33 }, | 31 }, |
34 { | 32 { |
35 'name': 'Mac Asan (parallel)', | 33 'name': 'Mac Asan (parallel)', |
36 'slavebuilddir': 'mac_asan', | 34 'slavebuilddir': 'mac_asan', |
37 }, | 35 }, |
38 { | |
39 'name': 'iOS32 Simulator Debug', | |
40 'slavebuilddir': 'mac64', | |
41 }, | |
42 { | |
43 'name': 'iOS64 Simulator Debug', | |
44 'slavebuilddir': 'mac64', | |
45 }, | |
46 ] | 36 ] |
47 | 37 |
48 c['builders'].extend([ | 38 c['builders'].extend([ |
49 { | 39 { |
50 'name': spec['name'], | 40 'name': spec['name'], |
51 'factory': m_annotator.BaseFactory('webrtc/standalone'), | 41 'factory': m_annotator.BaseFactory('webrtc/standalone'), |
52 'notify_on_missing': True, | 42 'notify_on_missing': True, |
53 'category': 'mac', | 43 'category': 'mac', |
54 'slavebuilddir': spec['slavebuilddir'], | 44 'slavebuilddir': spec['slavebuilddir'], |
55 } for spec in specs | 45 } for spec in specs |
56 ]) | 46 ]) |
OLD | NEW |