| 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 23 matching lines...) Expand all Loading... |
| 34 'Mac64 Release [large tests]', | 34 'Mac64 Release [large tests]', |
| 35 'Mac64 Debug (GYP)', | 35 'Mac64 Debug (GYP)', |
| 36 'Mac64 Release (GYP)', | 36 'Mac64 Release (GYP)', |
| 37 'Mac Asan', | 37 'Mac Asan', |
| 38 'iOS32 Debug', | 38 'iOS32 Debug', |
| 39 'iOS32 Release', | 39 'iOS32 Release', |
| 40 'iOS64 Debug', | 40 'iOS64 Debug', |
| 41 'iOS64 Release', | 41 'iOS64 Release', |
| 42 'iOS32 Simulator Debug', | 42 'iOS32 Simulator Debug', |
| 43 'iOS64 Simulator Debug', | 43 'iOS64 Simulator Debug', |
| 44 'iOS64 Debug (GN)', | 44 'iOS64 Debug (GYP)', |
| 45 'iOS64 Release (GN)', | 45 'iOS64 Release (GYP)', |
| 46 'iOS API Framework Builder', | 46 'iOS API Framework Builder', |
| 47 ]), | 47 ]), |
| 48 ]) | 48 ]) |
| 49 | 49 |
| 50 # 'slavebuilddir' below is used to reduce the number of checkouts since some | 50 # 'slavebuilddir' below is used to reduce the number of checkouts since some |
| 51 # of the builders are pooled over multiple slave machines. | 51 # of the builders are pooled over multiple slave machines. |
| 52 specs = [ | 52 specs = [ |
| 53 {'name': 'Mac64 Debug', 'slavebuilddir': 'mac64'}, | 53 {'name': 'Mac64 Debug', 'slavebuilddir': 'mac64'}, |
| 54 {'name': 'Mac64 Release', 'slavebuilddir': 'mac64'}, | 54 {'name': 'Mac64 Release', 'slavebuilddir': 'mac64'}, |
| 55 { | 55 { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 84 'name': 'iOS32 Simulator Debug', | 84 'name': 'iOS32 Simulator Debug', |
| 85 'slavebuilddir': 'mac32', | 85 'slavebuilddir': 'mac32', |
| 86 'recipe': 'webrtc/ios', | 86 'recipe': 'webrtc/ios', |
| 87 }, | 87 }, |
| 88 { | 88 { |
| 89 'name': 'iOS64 Simulator Debug', | 89 'name': 'iOS64 Simulator Debug', |
| 90 'slavebuilddir': 'mac64', | 90 'slavebuilddir': 'mac64', |
| 91 'recipe': 'webrtc/ios', | 91 'recipe': 'webrtc/ios', |
| 92 }, | 92 }, |
| 93 { | 93 { |
| 94 'name': 'iOS64 Debug (GN)', | 94 'name': 'iOS64 Debug (GYP)', |
| 95 'slavebuilddir': 'mac64_gn', | 95 'slavebuilddir': 'mac64_gyp', |
| 96 'recipe': 'webrtc/ios', | 96 'recipe': 'webrtc/ios', |
| 97 }, | 97 }, |
| 98 { | 98 { |
| 99 'name': 'iOS64 Release (GN)', | 99 'name': 'iOS64 Release (GYP)', |
| 100 'slavebuilddir': 'mac64_gn', | 100 'slavebuilddir': 'mac64_gyp', |
| 101 'recipe': 'webrtc/ios', | 101 'recipe': 'webrtc/ios', |
| 102 }, | 102 }, |
| 103 { | 103 { |
| 104 'name': 'iOS API Framework Builder', | 104 'name': 'iOS API Framework Builder', |
| 105 'slavebuilddir': 'mac64', | 105 'slavebuilddir': 'mac64', |
| 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(spec.get('recipe', '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 |