| 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_linux_scheduler', | 13 SingleBranchScheduler(name='libyuv_linux_scheduler', |
| 14 branch='master', | 14 branch='master', |
| 15 treeStableTimer=0, | 15 treeStableTimer=0, |
| 16 builderNames=[ | 16 builderNames=[ |
| 17 'Linux32 Debug', | 17 'Linux32 Debug', |
| 18 'Linux32 Release', | 18 'Linux32 Release', |
| 19 'Linux64 Debug', | 19 'Linux64 Debug', |
| 20 'Linux64 Release', | 20 'Linux64 Release', |
| 21 'Linux64 Debug (GN)', |
| 22 'Linux64 Release (GN)', |
| 21 'Linux Asan', | 23 'Linux Asan', |
| 22 'Linux Memcheck', | 24 'Linux Memcheck', |
| 23 'Linux MSan', | 25 'Linux MSan', |
| 24 'Linux Tsan v2', | 26 'Linux Tsan v2', |
| 25 'Linux UBSan', | 27 'Linux UBSan', |
| 26 'Linux UBSan vptr', | 28 'Linux UBSan vptr', |
| 27 ]), | 29 ]), |
| 28 ]) | 30 ]) |
| 29 | 31 |
| 30 specs = [ | 32 specs = [ |
| 31 {'name': 'Linux32 Debug', 'slavebuilddir': 'linux32'}, | 33 {'name': 'Linux32 Debug', 'slavebuilddir': 'linux32'}, |
| 32 {'name': 'Linux32 Release', 'slavebuilddir': 'linux32'}, | 34 {'name': 'Linux32 Release', 'slavebuilddir': 'linux32'}, |
| 33 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, | 35 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, |
| 34 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, | 36 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, |
| 37 {'name': 'Linux64 Debug (GN)', 'slavebuilddir': 'linux64_gn'}, |
| 38 {'name': 'Linux64 Release (GN)', 'slavebuilddir': 'linux64_gn'}, |
| 35 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, | 39 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, |
| 36 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, | 40 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, |
| 37 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, | 41 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, |
| 38 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, | 42 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, |
| 39 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, | 43 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, |
| 40 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, | 44 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, |
| 41 ] | 45 ] |
| 42 | 46 |
| 43 c['builders'].extend([ | 47 c['builders'].extend([ |
| 44 { | 48 { |
| 45 'name': spec['name'], | 49 'name': spec['name'], |
| 46 'factory': m_annotator.BaseFactory('libyuv/libyuv'), | 50 'factory': m_annotator.BaseFactory('libyuv/libyuv'), |
| 47 'notify_on_missing': True, | 51 'notify_on_missing': True, |
| 48 'category': 'linux', | 52 'category': 'linux', |
| 49 'slavebuilddir': spec['slavebuilddir'], | 53 'slavebuilddir': spec['slavebuilddir'], |
| 50 } for spec in specs | 54 } for spec in specs |
| 51 ]) | 55 ]) |
| OLD | NEW |