| 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.changes.filter import ChangeFilter | 5 from buildbot.changes.filter import ChangeFilter |
| 6 from buildbot.scheduler import Periodic | 6 from buildbot.scheduler import Periodic |
| 7 from buildbot.schedulers.basic import SingleBranchScheduler | 7 from buildbot.schedulers.basic import SingleBranchScheduler |
| 8 | 8 |
| 9 from master.factory import annotator_factory | 9 from master.factory import annotator_factory |
| 10 | 10 |
| 11 m_annotator = annotator_factory.AnnotatorFactory() | 11 m_annotator = annotator_factory.AnnotatorFactory() |
| 12 | 12 |
| 13 def Update(c): | 13 def Update(c): |
| 14 hourly_builders = [ | 14 hourly_builders = [ |
| 15 'Android Builder (dbg)', | 15 'Android Builder (dbg)', |
| 16 'Android Builder ARM64 (dbg)', | 16 'Android Builder ARM64 (dbg)', |
| 17 'Android GN', | |
| 18 'Android GN (dbg)', | |
| 19 'Linux Builder', | 17 'Linux Builder', |
| 20 'Mac Builder', | 18 'Mac Builder', |
| 21 'Mac GN', | 19 'Mac GN', |
| 22 'Mac GN (dbg)', | 20 'Mac GN (dbg)', |
| 23 ] | 21 ] |
| 24 win_builders = [ | 22 win_builders = [ |
| 25 'Win Builder', | 23 'Win Builder', |
| 26 'Win x64 GN', | 24 'Win x64 GN', |
| 27 'Win x64 GN (dbg)', | 25 'Win x64 GN (dbg)', |
| 28 ] | 26 ] |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 { | 72 { |
| 75 'name': 'Android Builder ARM64 (dbg)', | 73 'name': 'Android Builder ARM64 (dbg)', |
| 76 'category': 'android', | 74 'category': 'android', |
| 77 'slavebuilddir': 'android_arm64', | 75 'slavebuilddir': 'android_arm64', |
| 78 }, | 76 }, |
| 79 {'name': 'Android Tests (dbg) (K Nexus5)', 'category': 'android'}, | 77 {'name': 'Android Tests (dbg) (K Nexus5)', 'category': 'android'}, |
| 80 {'name': 'Android Tests (dbg) (L Nexus5)', 'category': 'android'}, | 78 {'name': 'Android Tests (dbg) (L Nexus5)', 'category': 'android'}, |
| 81 {'name': 'Android Tests (dbg) (L Nexus6)', 'category': 'android'}, | 79 {'name': 'Android Tests (dbg) (L Nexus6)', 'category': 'android'}, |
| 82 {'name': 'Android Tests (dbg) (L Nexus7.2)', 'category': 'android'}, | 80 {'name': 'Android Tests (dbg) (L Nexus7.2)', 'category': 'android'}, |
| 83 {'name': 'Android Tests (dbg) (L Nexus9)', 'category': 'android'}, | 81 {'name': 'Android Tests (dbg) (L Nexus9)', 'category': 'android'}, |
| 84 { | |
| 85 'name': 'Android GN', | |
| 86 'category': 'android', | |
| 87 'slavebuilddir': 'android_gn', | |
| 88 }, | |
| 89 { | |
| 90 'name': 'Android GN (dbg)', | |
| 91 'category': 'android', | |
| 92 'slavebuilddir': 'android_gn', | |
| 93 }, | |
| 94 ] | 82 ] |
| 95 | 83 |
| 96 for spec in specs: | 84 for spec in specs: |
| 97 builder_dict = { | 85 builder_dict = { |
| 98 'name': spec['name'], | 86 'name': spec['name'], |
| 99 'factory': m_annotator.BaseFactory(spec.get('recipe', 'chromium')), | 87 'factory': m_annotator.BaseFactory(spec.get('recipe', 'chromium')), |
| 100 'category': spec['category'], | 88 'category': spec['category'], |
| 101 'notify_on_missing': True, | 89 'notify_on_missing': True, |
| 102 } | 90 } |
| 103 if 'slavebuilddir' in spec: | 91 if 'slavebuilddir' in spec: |
| 104 builder_dict['slavebuilddir'] = spec['slavebuilddir'] | 92 builder_dict['slavebuilddir'] = spec['slavebuilddir'] |
| 105 | 93 |
| 106 c['builders'].append(builder_dict) | 94 c['builders'].append(builder_dict) |
| OLD | NEW |