| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # READ THIS: | 7 # READ THIS: |
| 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
| 9 | 9 |
| 10 import os | 10 import os |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 c['change_source'] = [] | 33 c['change_source'] = [] |
| 34 | 34 |
| 35 # Avoid merging requests. | 35 # Avoid merging requests. |
| 36 c['mergeRequests'] = lambda *_: False | 36 c['mergeRequests'] = lambda *_: False |
| 37 | 37 |
| 38 def m_remote_run_chromium_src(recipe, **kwargs): | 38 def m_remote_run_chromium_src(recipe, **kwargs): |
| 39 props = {'path_config': 'kitchen'} | 39 props = {'path_config': 'kitchen'} |
| 40 props.update(kwargs.pop('properties', {})) | 40 props.update(kwargs.pop('properties', {})) |
| 41 return remote_run_factory.RemoteRunFactory( | 41 return remote_run_factory.RemoteRunFactory( |
| 42 active_master=ActiveMaster, | 42 active_master=ActiveMaster, |
| 43 repository='https://chromium.googlesource.com/chromium/src.git', | 43 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 44 recipe=recipe, | 44 recipe=recipe, |
| 45 factory_properties=props, | 45 factory_properties=props, |
| 46 use_gitiles=True, | 46 use_gitiles=True, |
| 47 **kwargs) | 47 **kwargs) |
| 48 | 48 |
| 49 c['builders'] = [] | 49 c['builders'] = [] |
| 50 for platform in ['linux_precise', 'mac10.9', 'win7']: | 50 for platform in ['linux_precise', 'mac10.9', 'win7']: |
| 51 for target in ['_dbg', '_compile_dbg', '_compile_rel', '_rel']: | 51 for target in ['_dbg', '_compile_dbg', '_compile_rel', '_rel']: |
| 52 c['builders'].append({ | 52 c['builders'].append({ |
| 53 'name': '%s_blink%s' % (platform, target), | 53 'name': '%s_blink%s' % (platform, target), |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 c['logHorizon'] = 3000 | 119 c['logHorizon'] = 3000 |
| 120 # Must be at least 2x the number of slaves. | 120 # Must be at least 2x the number of slaves. |
| 121 c['eventHorizon'] = 200 | 121 c['eventHorizon'] = 200 |
| 122 | 122 |
| 123 # Adjust the buildCaches to be 3x the number of slaves per builder. | 123 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 124 c['autoBuildCacheRatio'] = 3 | 124 c['autoBuildCacheRatio'] = 3 |
| 125 | 125 |
| 126 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 126 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 127 | 127 |
| 128 # vi: set ts=4 sts=2 sw=2 et: | 128 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |