| OLD | NEW | 
|    1 #!/usr/bin/env python |    1 #!/usr/bin/env python | 
|    2 # Copyright 2013 The Chromium Authors. All rights reserved. |    2 # Copyright 2013 The Chromium Authors. All rights reserved. | 
|    3 # Use of this source code is governed by a BSD-style license that can be |    3 # Use of this source code is governed by a BSD-style license that can be | 
|    4 # found in the LICENSE file. |    4 # found in the LICENSE file. | 
|    5  |    5  | 
|    6 import os |    6 import os | 
|    7  |    7  | 
|    8 from common import chromium_utils |    8 from common import chromium_utils | 
|    9  |    9  | 
|   10 from master import master_utils |   10 from master import master_utils | 
| (...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 m_annotator = annotator_factory.AnnotatorFactory(ActiveMaster) |   38 m_annotator = annotator_factory.AnnotatorFactory(ActiveMaster) | 
|   39  |   39  | 
|   40 def m_remote_run_chromium_src(recipe, **kwargs): |   40 def m_remote_run_chromium_src(recipe, **kwargs): | 
|   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={'path_config': 'kitchen'}, |   45       factory_properties={'path_config': 'kitchen'}, | 
|   46       use_gitiles=True, |   46       use_gitiles=True, | 
|   47       **kwargs) |   47       **kwargs) | 
|   48  |   48  | 
|   49 # ---------------------------------------------------------------------------- |   49 # ---------------------------------------------------------------------------- | 
|   50 # STAND-ALONE BUILDER DEFINITIONS |   50 # STAND-ALONE BUILDER DEFINITIONS | 
|   51  |   51  | 
|   52 c['builders'] = [ |   52 c['builders'] = [ | 
|   53   { |   53   { | 
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  303 c['logHorizon'] = 2000 |  303 c['logHorizon'] = 2000 | 
|  304 # Must be at least 2x the number of slaves. |  304 # Must be at least 2x the number of slaves. | 
|  305 c['eventHorizon'] = 200 |  305 c['eventHorizon'] = 200 | 
|  306 # Adjust the buildCaches to be 3x the number of slaves per builder. |  306 # Adjust the buildCaches to be 3x the number of slaves per builder. | 
|  307 c['autoBuildCacheRatio'] = 3 |  307 c['autoBuildCacheRatio'] = 3 | 
|  308  |  308  | 
|  309 ####### PROJECT IDENTITY |  309 ####### PROJECT IDENTITY | 
|  310  |  310  | 
|  311 c['projectName'] = ActiveMaster.project_name |  311 c['projectName'] = ActiveMaster.project_name | 
|  312 c['projectURL'] = config.Master.project_url |  312 c['projectURL'] = config.Master.project_url | 
| OLD | NEW |