| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 # | 3 # |
| 4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
| 5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
| 6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
| 7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
| 8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
| 9 | 9 |
| 10 import os | 10 import os |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 {'name': 'linux_tsan2', 'slavebuilddir': 'linux_tsan2'}, | 65 {'name': 'linux_tsan2', 'slavebuilddir': 'linux_tsan2'}, |
| 66 {'name': 'linux_asan', 'slavebuilddir': 'linux_asan'}, | 66 {'name': 'linux_asan', 'slavebuilddir': 'linux_asan'}, |
| 67 {'name': 'linux_gn', 'slavebuilddir': 'linux64_gn'}, | 67 {'name': 'linux_gn', 'slavebuilddir': 'linux64_gn'}, |
| 68 {'name': 'linux_gn_rel', 'slavebuilddir': 'linux64_gn'}, | 68 {'name': 'linux_gn_rel', 'slavebuilddir': 'linux64_gn'}, |
| 69 {'name': 'android', 'slavebuilddir': 'android'}, | 69 {'name': 'android', 'slavebuilddir': 'android'}, |
| 70 {'name': 'android_rel', 'slavebuilddir': 'android'}, | 70 {'name': 'android_rel', 'slavebuilddir': 'android'}, |
| 71 {'name': 'android_clang', 'slavebuilddir': 'android_clang'}, | 71 {'name': 'android_clang', 'slavebuilddir': 'android_clang'}, |
| 72 {'name': 'android_arm64', 'slavebuilddir': 'android_arm64'}, | 72 {'name': 'android_arm64', 'slavebuilddir': 'android_arm64'}, |
| 73 {'name': 'android_gn', 'slavebuilddir': 'android_gn'}, | 73 {'name': 'android_gn', 'slavebuilddir': 'android_gn'}, |
| 74 {'name': 'android_gn_rel', 'slavebuilddir': 'android_gn'}, | 74 {'name': 'android_gn_rel', 'slavebuilddir': 'android_gn'}, |
| 75 { | |
| 76 'name': 'android_apk', | |
| 77 'recipe': 'webrtc/android_apk', | |
| 78 'slavebuilddir': 'android_apk', | |
| 79 }, | |
| 80 { | |
| 81 'name': 'android_apk_rel', | |
| 82 'recipe': 'webrtc/android_apk', | |
| 83 'slavebuilddir': 'android_apk', | |
| 84 }, | |
| 85 ] | 75 ] |
| 86 | 76 |
| 87 m_annotator = annotator_factory.AnnotatorFactory() | 77 m_annotator = annotator_factory.AnnotatorFactory() |
| 88 c['builders'] = [ | 78 c['builders'] = [ |
| 89 { | 79 { |
| 90 'name': spec['name'], | 80 'name': spec['name'], |
| 91 'factory': m_annotator.BaseFactory(spec.get('recipe', | 81 'factory': m_annotator.BaseFactory('webrtc/standalone'), |
| 92 'webrtc/standalone')), | |
| 93 'slavebuilddir': spec['slavebuilddir'], | 82 'slavebuilddir': spec['slavebuilddir'], |
| 94 } for spec in specs | 83 } for spec in specs |
| 95 ] | 84 ] |
| 96 | 85 |
| 97 # Slaves are loaded from slaves.cfg. | 86 # Slaves are loaded from slaves.cfg. |
| 98 slaves = slaves_list.SlavesList('slaves.cfg', 'WebRTCTryServer') | 87 slaves = slaves_list.SlavesList('slaves.cfg', 'WebRTCTryServer') |
| 99 | 88 |
| 100 for builder in c['builders']: | 89 for builder in c['builders']: |
| 101 # Associate the slaves to the builders. The configuration is in slaves.cfg. | 90 # Associate the slaves to the builders. The configuration is in slaves.cfg. |
| 102 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) | 91 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 # Must be at least 2x the number of slaves. | 185 # Must be at least 2x the number of slaves. |
| 197 c['eventHorizon'] = 100 | 186 c['eventHorizon'] = 100 |
| 198 # Must be at least 2x the number of on-going builds. | 187 # Must be at least 2x the number of on-going builds. |
| 199 c['buildCacheSize'] = 100 | 188 c['buildCacheSize'] = 100 |
| 200 | 189 |
| 201 ####### PROJECT IDENTITY | 190 ####### PROJECT IDENTITY |
| 202 | 191 |
| 203 # The 'projectURL' string will be used to provide a link | 192 # The 'projectURL' string will be used to provide a link |
| 204 # from buildbot HTML pages to your project's home page. | 193 # from buildbot HTML pages to your project's home page. |
| 205 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 194 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |