| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 from master.factory import remote_run_factory | 8 from master.factory import remote_run_factory |
| 9 | 9 |
| 10 import master_site_config | 10 import master_site_config |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 'recipe': 'webrtc/ios_api_framework', | 106 'recipe': 'webrtc/ios_api_framework', |
| 107 }, | 107 }, |
| 108 ] | 108 ] |
| 109 | 109 |
| 110 c['builders'].extend([ | 110 c['builders'].extend([ |
| 111 { | 111 { |
| 112 'name': spec['name'], | 112 'name': spec['name'], |
| 113 # remote_run is not working for the webrtc/ios recipe: crbug.com/637666. | 113 # remote_run is not working for the webrtc/ios recipe: crbug.com/637666. |
| 114 'factory': m_annotator.BaseFactory(spec['recipe']) | 114 'factory': m_annotator.BaseFactory(spec['recipe']) |
| 115 if 'recipe' in spec and spec['recipe'] == 'webrtc/ios' | 115 if 'recipe' in spec and spec['recipe'] == 'webrtc/ios' |
| 116 else m_remote_run('webrtc/standalone'), | 116 else m_remote_run(spec.get('recipe', 'webrtc/standalone')), |
| 117 'notify_on_missing': True, | 117 'notify_on_missing': True, |
| 118 'category': spec.get('category', 'compile|testers'), | 118 'category': spec.get('category', 'compile|testers'), |
| 119 'slavebuilddir': spec['slavebuilddir'], | 119 'slavebuilddir': spec['slavebuilddir'], |
| 120 } for spec in specs | 120 } for spec in specs |
| 121 ]) | 121 ]) |
| OLD | NEW |