| 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.scheduler import Dependent | 5 from buildbot.scheduler import Dependent |
| 6 | 6 |
| 7 from common import chromium_utils | 7 from common import chromium_utils |
| 8 | 8 |
| 9 from master import gitiles_poller | 9 from master import gitiles_poller |
| 10 from master import master_config | 10 from master import master_config |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 # FACTORIES | 60 # FACTORIES |
| 61 | 61 |
| 62 m_annotator = annotator_factory.AnnotatorFactory() | 62 m_annotator = annotator_factory.AnnotatorFactory() |
| 63 | 63 |
| 64 # ---------------------------------------------------------------------------- | 64 # ---------------------------------------------------------------------------- |
| 65 # BUILDER DEFINITIONS | 65 # BUILDER DEFINITIONS |
| 66 | 66 |
| 67 recipe_master_helper.AddRecipeBasedBuilders( | 67 recipe_master_helper.AddRecipeBasedBuilders( |
| 68 c, slaves, m_annotator, trigger_name_map) | 68 c, slaves, m_annotator, trigger_name_map) |
| 69 | 69 |
| 70 |
| 71 # ------------ |
| 72 # Android bots |
| 73 |
| 74 # TODO(kbr): finish the conversion of the Android bots to the Chromium |
| 75 # recipe, and remove the autogenerated recipes entirely. crbug.com/490984 |
| 76 F_ANDROID = annotator_factory.AnnotatorFactory().BaseFactory( |
| 77 recipe='chromium.gpu.recipe_autogen') |
| 78 |
| 79 b_android_nexus9 = {'name': 'Android Debug (Nexus 9)', |
| 80 'factory': F_ANDROID} |
| 81 |
| 82 c['builders'] += [ b_android_nexus9 ] |
| 83 |
| 84 # ------------ |
| 85 # Audio bots |
| 86 |
| 87 # TODO(kbr): get the regular GPU bots to run these audio tests on real |
| 88 # audio hardware, and decommission these two bots. crbug.com/416594 |
| 89 |
| 70 f_recipe = annotator_factory.AnnotatorFactory().BaseFactory( | 90 f_recipe = annotator_factory.AnnotatorFactory().BaseFactory( |
| 71 recipe='chromium.gpu.fyi.recipe_autogen') | 91 recipe='chromium.gpu.fyi.recipe_autogen') |
| 72 | 92 |
| 73 b_win_audio = {'name': 'Win7 Audio', | 93 b_win_audio = {'name': 'Win7 Audio', |
| 74 'factory': f_recipe} | 94 'factory': f_recipe} |
| 75 | 95 |
| 76 b_linux_audio = {'name': 'Linux Audio', | 96 b_linux_audio = {'name': 'Linux Audio', |
| 77 'factory': f_recipe} | 97 'factory': f_recipe} |
| 78 | 98 |
| 79 # Order them by OS type, target type, and OS version. | 99 # Order them by OS type, target type, and OS version. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 99 # Buildbot master url: | 119 # Buildbot master url: |
| 100 # Must come before AutoSetupMaster(). | 120 # Must come before AutoSetupMaster(). |
| 101 c['buildbotURL'] = ActiveMaster.buildbot_url | 121 c['buildbotURL'] = ActiveMaster.buildbot_url |
| 102 | 122 |
| 103 # Adds common status and tools to this master. | 123 # Adds common status and tools to this master. |
| 104 master_utils.AutoSetupMaster(c, ActiveMaster, | 124 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 105 public_html='../master.chromium/public_html', | 125 public_html='../master.chromium/public_html', |
| 106 templates=['../master.chromium/templates'], | 126 templates=['../master.chromium/templates'], |
| 107 tagComparator=master_poller.comparator, | 127 tagComparator=master_poller.comparator, |
| 108 enable_http_status_push=ActiveMaster.is_production_host) | 128 enable_http_status_push=ActiveMaster.is_production_host) |
| OLD | NEW |