Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 50 pools = BuildersPools('chrome') | 50 pools = BuildersPools('chrome') |
| 51 | 51 |
| 52 chromium_builders = [] | 52 chromium_builders = [] |
| 53 chromeos_boards = ('x86-generic', 'amd64-generic', 'daisy') | 53 chromeos_boards = ('x86-generic', 'amd64-generic', 'daisy') |
| 54 | 54 |
| 55 def baseFactory(recipe, factory_properties=None, **kwargs): | 55 def baseFactory(recipe, factory_properties=None, **kwargs): |
| 56 fp = factory_properties or {} | 56 fp = factory_properties or {} |
| 57 fp.update({ | 57 fp.update({ |
| 58 '$recipe_engine': {'mode_flags': {'use_subprocess42': True}} | 58 '$recipe_engine': {'mode_flags': {'use_subprocess42': True}} |
| 59 }) | 59 }) |
| 60 | |
| 61 # Disable "max time without output" timeout if total build timeout | |
| 62 # is in effect. | |
| 63 if 'max_time' in kwargs and 'timeout' not in kwargs: | |
|
Sergiy Byelozyorov
2016/07/08 08:20:43
The comment and statement is confusing. Comment sa
| |
| 64 kwargs['timeout'] = None | |
| 65 | |
| 60 return m_annotator.BaseFactory(recipe, factory_properties=fp, **kwargs) | 66 return m_annotator.BaseFactory(recipe, factory_properties=fp, **kwargs) |
| 61 | 67 |
| 62 for targ in ('_rel', '_dbg'): | 68 for targ in ('_rel', '_dbg'): |
| 63 chromium_builders.extend([{ | 69 chromium_builders.extend([{ |
| 64 'name': 'linux_chromium_compile%s_ng' % targ, | 70 'name': 'linux_chromium_compile%s_ng' % targ, |
| 65 'factory': baseFactory('chromium_trybot', timeout=3600), | 71 'factory': baseFactory('chromium_trybot', timeout=3600), |
| 66 # Share build directory with compatible existing builders to save space. | 72 # Share build directory with compatible existing builders to save space. |
| 67 'slavebuilddir': 'linux' | 73 'slavebuilddir': 'linux' |
| 68 }, { | 74 }, { |
| 69 'name': 'linux_chromium%s_ng' % targ, | 75 'name': 'linux_chromium%s_ng' % targ, |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 525 # base.make_stop_form = hack_stop(base.make_stop_form) | 531 # base.make_stop_form = hack_stop(base.make_stop_form) |
| 526 | 532 |
| 527 | 533 |
| 528 ####### PROJECT IDENTITY | 534 ####### PROJECT IDENTITY |
| 529 | 535 |
| 530 # The 'projectURL' string will be used to provide a link | 536 # The 'projectURL' string will be used to provide a link |
| 531 # from buildbot HTML pages to your project's home page. | 537 # from buildbot HTML pages to your project's home page. |
| 532 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 538 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 533 | 539 |
| 534 # vi: set ts=4 sts=2 sw=2 et: | 540 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |