| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 {'name': 'android_compile_x64_dbg', 'slavebuilddir': 'android_x64'}, | 113 {'name': 'android_compile_x64_dbg', 'slavebuilddir': 'android_x64'}, |
| 114 {'name': 'android_dbg', 'slavebuilddir': 'android'}, | 114 {'name': 'android_dbg', 'slavebuilddir': 'android'}, |
| 115 {'name': 'android_rel', 'slavebuilddir': 'android'}, | 115 {'name': 'android_rel', 'slavebuilddir': 'android'}, |
| 116 {'name': 'android_clang_dbg', 'slavebuilddir': 'android_clang'}, | 116 {'name': 'android_clang_dbg', 'slavebuilddir': 'android_clang'}, |
| 117 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, | 117 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, |
| 118 {'name': 'android_n6', 'slavebuilddir': 'android'}, | 118 {'name': 'android_n6', 'slavebuilddir': 'android'}, |
| 119 {'name': 'android_gn_dbg', 'slavebuilddir': 'android_gn'}, | 119 {'name': 'android_gn_dbg', 'slavebuilddir': 'android_gn'}, |
| 120 {'name': 'android_gn_rel', 'slavebuilddir': 'android_gn'}, | 120 {'name': 'android_gn_rel', 'slavebuilddir': 'android_gn'}, |
| 121 ] | 121 ] |
| 122 | 122 |
| 123 |
| 124 m_annotator = annotator_factory.AnnotatorFactory() |
| 125 |
| 126 |
| 123 def m_remote_run(recipe, **kwargs): | 127 def m_remote_run(recipe, **kwargs): |
| 124 return remote_run_factory.RemoteRunFactory( | 128 return remote_run_factory.RemoteRunFactory( |
| 125 active_master=ActiveMaster, | 129 active_master=ActiveMaster, |
| 126 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 130 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 127 recipe=recipe, | 131 recipe=recipe, |
| 128 factory_properties={'path_config': 'kitchen'}, | 132 factory_properties={'path_config': 'kitchen'}, |
| 129 **kwargs) | 133 **kwargs) |
| 130 | 134 |
| 135 |
| 131 c['builders'] = [ | 136 c['builders'] = [ |
| 132 { | 137 { |
| 133 'name': spec['name'], | 138 'name': spec['name'], |
| 134 # TODO(sergiyb): Remove the timeout below after all bots have synched past | 139 # TODO(sergiyb): Remove the timeout below after all bots have synched past |
| 135 # Blink merge commit. | 140 # Blink merge commit. |
| 136 'factory': m_remote_run(spec.get('recipe', 'webrtc/standalone'), | 141 'factory': m_annotator.BaseFactory(spec['recipe'], timeout=3600) |
| 137 timeout=3600), | 142 if spec.get('recipe') == 'webrtc/libfuzzer' |
| 143 else m_remote_run('webrtc/standalone', timeout=3600), |
| 138 'slavebuilddir': spec['slavebuilddir'], | 144 'slavebuilddir': spec['slavebuilddir'], |
| 139 } for spec in specs | 145 } for spec in specs |
| 140 ] | 146 ] |
| 141 | 147 |
| 142 m_annotator = annotator_factory.AnnotatorFactory() | |
| 143 | 148 |
| 144 # Presubmit builder. | 149 # Presubmit builder. |
| 145 c['builders'].append( | 150 c['builders'].append( |
| 146 { | 151 { |
| 147 'name': 'presubmit', | 152 'name': 'presubmit', |
| 148 'factory': m_annotator.BaseFactory('run_presubmit', | 153 'factory': m_annotator.BaseFactory('run_presubmit', |
| 149 {'repo_name': 'webrtc', | 154 {'repo_name': 'webrtc', |
| 150 'runhooks': True}), | 155 'runhooks': True}), |
| 151 'slavebuilddir': 'linux64', | 156 'slavebuilddir': 'linux64', |
| 152 } | 157 } |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 # Must be at least 2x the number of slaves. | 246 # Must be at least 2x the number of slaves. |
| 242 c['eventHorizon'] = 100 | 247 c['eventHorizon'] = 100 |
| 243 # Must be at least 2x the number of on-going builds. | 248 # Must be at least 2x the number of on-going builds. |
| 244 c['buildCacheSize'] = 100 | 249 c['buildCacheSize'] = 100 |
| 245 | 250 |
| 246 ####### PROJECT IDENTITY | 251 ####### PROJECT IDENTITY |
| 247 | 252 |
| 248 # The 'projectURL' string will be used to provide a link | 253 # The 'projectURL' string will be used to provide a link |
| 249 # from buildbot HTML pages to your project's home page. | 254 # from buildbot HTML pages to your project's home page. |
| 250 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 255 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |