| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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='libyuv_android_scheduler', | 13 SingleBranchScheduler(name='libyuv_android_scheduler', |
| 14 branch='master', | 14 branch='master', |
| 15 treeStableTimer=0, | 15 treeStableTimer=0, |
| 16 builderNames=[ | 16 builderNames=[ |
| 17 'Android Debug', | 17 'Android Debug', |
| 18 'Android Release', | 18 'Android Release', |
| 19 'Android Debug (GN)', | 19 'Android Debug (GN)', |
| 20 'Android Release (GN)', | 20 'Android Release (GN)', |
| 21 'Android Clang Debug', | 21 'Android Clang Debug', |
| 22 'Android ARM64 Debug', | 22 'Android ARM64 Debug', |
| 23 'Android32 x86 Debug', |
| 24 'Android64 x64 Debug', |
| 25 'Android32 MIPS Debug', |
| 23 ]), | 26 ]), |
| 24 ]) | 27 ]) |
| 25 | 28 |
| 26 specs = [ | 29 specs = [ |
| 27 {'name': 'Android Debug'}, | 30 {'name': 'Android Debug'}, |
| 28 {'name': 'Android Release'}, | 31 {'name': 'Android Release'}, |
| 29 {'name': 'Android Debug (GN)', 'slavebuilddir': 'android_gn'}, | 32 {'name': 'Android Debug (GN)', 'slavebuilddir': 'android_gn'}, |
| 30 {'name': 'Android Release (GN)', 'slavebuilddir': 'android_gn'}, | 33 {'name': 'Android Release (GN)', 'slavebuilddir': 'android_gn'}, |
| 31 {'name': 'Android Clang Debug', 'slavebuilddir': 'android_clang'}, | 34 {'name': 'Android Clang Debug', 'slavebuilddir': 'android_clang'}, |
| 32 {'name': 'Android ARM64 Debug', 'slavebuilddir': 'android_arm64'}, | 35 {'name': 'Android ARM64 Debug', 'slavebuilddir': 'android_arm64'}, |
| 36 {'name': 'Android32 x86 Debug', 'slavebuilddir': 'android_x86'}, |
| 37 {'name': 'Android64 x64 Debug', 'slavebuilddir': 'android_x64'}, |
| 38 {'name': 'Android32 MIPS Debug', 'slavebuilddir': 'android_mips'}, |
| 33 ] | 39 ] |
| 34 | 40 |
| 35 c['builders'].extend([ | 41 c['builders'].extend([ |
| 36 { | 42 { |
| 37 'name': spec['name'], | 43 'name': spec['name'], |
| 38 'factory': m_annotator.BaseFactory('libyuv/libyuv'), | 44 'factory': m_annotator.BaseFactory('libyuv/libyuv'), |
| 39 'notify_on_missing': True, | 45 'notify_on_missing': True, |
| 40 'category': 'android', | 46 'category': 'android', |
| 41 'slavebuilddir': spec.get('slavebuilddir', 'android'), | 47 'slavebuilddir': spec.get('slavebuilddir', 'android'), |
| 42 } for spec in specs | 48 } for spec in specs |
| 43 ]) | 49 ]) |
| OLD | NEW |