Chromium Code Reviews| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 115 {'name': 'android_compile_mips_dbg', 'slavebuilddir': 'android_mips'}, | 115 {'name': 'android_compile_mips_dbg', 'slavebuilddir': 'android_mips'}, |
| 116 {'name': 'android_compile_x86_rel', 'slavebuilddir': 'android_x86'}, | 116 {'name': 'android_compile_x86_rel', 'slavebuilddir': 'android_x86'}, |
| 117 {'name': 'android_compile_x86_dbg', 'slavebuilddir': 'android_x86'}, | 117 {'name': 'android_compile_x86_dbg', 'slavebuilddir': 'android_x86'}, |
| 118 {'name': 'android_compile_x64_dbg', 'slavebuilddir': 'android_x64'}, | 118 {'name': 'android_compile_x64_dbg', 'slavebuilddir': 'android_x64'}, |
| 119 {'name': 'android_dbg', 'slavebuilddir': 'android'}, | 119 {'name': 'android_dbg', 'slavebuilddir': 'android'}, |
| 120 {'name': 'android_rel', 'slavebuilddir': 'android'}, | 120 {'name': 'android_rel', 'slavebuilddir': 'android'}, |
| 121 {'name': 'android_clang_dbg', 'slavebuilddir': 'android_clang'}, | 121 {'name': 'android_clang_dbg', 'slavebuilddir': 'android_clang'}, |
| 122 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, | 122 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, |
| 123 {'name': 'android_gyp_dbg', 'slavebuilddir': 'android_gyp'}, | 123 {'name': 'android_gyp_dbg', 'slavebuilddir': 'android_gyp'}, |
| 124 {'name': 'android_gyp_rel', 'slavebuilddir': 'android_gyp'}, | 124 {'name': 'android_gyp_rel', 'slavebuilddir': 'android_gyp'}, |
| 125 {'name': 'android_more_configs', 'slavebuilddir': 'android'}, | 125 { |
| 126 'name': 'android_more_configs', | |
| 127 'recipe': 'webrtc/more_configs', | |
| 128 'slavebuilddir': 'android', | |
| 129 }, | |
| 126 ] | 130 ] |
| 127 | 131 |
| 128 | 132 |
| 129 m_annotator = annotator_factory.AnnotatorFactory() | 133 m_annotator = annotator_factory.AnnotatorFactory() |
| 130 | 134 |
| 131 | 135 |
| 132 def m_remote_run(recipe, **kwargs): | 136 def m_remote_run(recipe, **kwargs): |
| 133 return remote_run_factory.RemoteRunFactory( | 137 return remote_run_factory.RemoteRunFactory( |
| 134 active_master=ActiveMaster, | 138 active_master=ActiveMaster, |
| 135 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 139 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 136 recipe=recipe, | 140 recipe=recipe, |
| 137 factory_properties={'path_config': 'kitchen'}, | 141 factory_properties={'path_config': 'kitchen'}, |
| 138 **kwargs) | 142 **kwargs) |
| 139 | 143 |
| 140 | 144 |
| 141 c['builders'] = [ | 145 c['builders'] = [ |
| 142 { | 146 { |
| 143 'name': spec['name'], | 147 'name': spec['name'], |
| 144 # TODO(sergiyb): Remove the timeout below after all bots have synched past | 148 # TODO(sergiyb): Remove the timeout below after all bots have synched past |
| 145 # Blink merge commit. | 149 # Blink merge commit. |
| 146 # remote_run is not working for the webrtc/ios recipe: crbug.com/637666. | 150 # remote_run is not working for the webrtc/ios recipe: crbug.com/637666. |
| 147 'factory': m_annotator.BaseFactory(spec['recipe'], timeout=3600) | 151 'factory': m_annotator.BaseFactory(spec['recipe'], timeout=3600) |
| 148 if 'recipe' in spec and spec['recipe'] in ('webrtc/ios', | 152 if 'recipe' in spec and spec['recipe'] in ('webrtc/ios', |
| 149 'webrtc/libfuzzer') | 153 'webrtc/libfuzzer', |
| 154 'webrtc/more_configs',) | |
|
kjellander_chromium
2016/11/01 08:20:09
without this line both of the "more configs" bots
| |
| 150 else m_remote_run(spec.get('recipe', 'webrtc/standalone'), | 155 else m_remote_run(spec.get('recipe', 'webrtc/standalone'), |
| 151 timeout=3600), | 156 timeout=3600), |
| 152 'slavebuilddir': spec['slavebuilddir'], | 157 'slavebuilddir': spec['slavebuilddir'], |
| 153 } for spec in specs | 158 } for spec in specs |
| 154 ] | 159 ] |
| 155 | 160 |
| 156 | 161 |
| 157 # Presubmit builder. | 162 # Presubmit builder. |
| 158 c['builders'].append( | 163 c['builders'].append( |
| 159 { | 164 { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 254 # Must be at least 2x the number of slaves. | 259 # Must be at least 2x the number of slaves. |
| 255 c['eventHorizon'] = 100 | 260 c['eventHorizon'] = 100 |
| 256 # Must be at least 2x the number of on-going builds. | 261 # Must be at least 2x the number of on-going builds. |
| 257 c['buildCacheSize'] = 100 | 262 c['buildCacheSize'] = 100 |
| 258 | 263 |
| 259 ####### PROJECT IDENTITY | 264 ####### PROJECT IDENTITY |
| 260 | 265 |
| 261 # The 'projectURL' string will be used to provide a link | 266 # The 'projectURL' string will be used to provide a link |
| 262 # from buildbot HTML pages to your project's home page. | 267 # from buildbot HTML pages to your project's home page. |
| 263 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 268 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |