OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 6 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
7 # Use of this source code is governed by a BSD-style license that can be | 7 # Use of this source code is governed by a BSD-style license that can be |
8 # found in the LICENSE file. | 8 # found in the LICENSE file. |
9 | 9 |
10 """Dart client buildbot steps | 10 """Dart client buildbot steps |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 else: | 197 else: |
198 # Run the old annotated steps script | 198 # Run the old annotated steps script |
199 status = ProcessTools('release', name, version) | 199 status = ProcessTools('release', name, version) |
200 elif name.startswith('pub-'): | 200 elif name.startswith('pub-'): |
201 status = ProcessBot(name, 'pub') | 201 status = ProcessBot(name, 'pub') |
202 elif name.startswith('vm-android'): | 202 elif name.startswith('vm-android'): |
203 status = ProcessBot(name, 'android') | 203 status = ProcessBot(name, 'android') |
204 elif name.startswith('cross') or name.startswith('target'): | 204 elif name.startswith('cross') or name.startswith('target'): |
205 status = ProcessBot(name, 'cross-vm', | 205 status = ProcessBot(name, 'cross-vm', |
206 custom_env=EnvironmentWithoutBotoConfig()) | 206 custom_env=EnvironmentWithoutBotoConfig()) |
207 elif name.startswith('src-tarball'): | 207 elif name.startswith('linux-distribution-support'): |
208 status = ProcessBot(name, 'src-tarball') | 208 status = ProcessBot(name, 'linux_distribution_support') |
209 else: | 209 else: |
210 status = ProcessBot(name, 'compiler') | 210 status = ProcessBot(name, 'compiler') |
211 | 211 |
212 if status: | 212 if status: |
213 print '@@@STEP_FAILURE@@@' | 213 print '@@@STEP_FAILURE@@@' |
214 | 214 |
215 return status | 215 return status |
216 | 216 |
217 | 217 |
218 if __name__ == '__main__': | 218 if __name__ == '__main__': |
219 sys.exit(main()) | 219 sys.exit(main()) |
OLD | NEW |