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 from buildbot.scheduler import Triggerable | 10 from buildbot.scheduler import Triggerable |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 # Ref: src/build/android/buildbot/buildbot_functions.sh | 167 # Ref: src/build/android/buildbot/buildbot_functions.sh |
168 # TODO(ilevy): The script should be changed to use the canonical value. | 168 # TODO(ilevy): The script should be changed to use the canonical value. |
169 factory_properties['extra_gyp_defines'] = ( | 169 factory_properties['extra_gyp_defines'] = ( |
170 factory_properties['gclient_env']['GYP_DEFINES']) | 170 factory_properties['gclient_env']['GYP_DEFINES']) |
171 | 171 |
172 options = build_tool + ['--clobber-post-fail'] + (options or []) | 172 options = build_tool + ['--clobber-post-fail'] + (options or []) |
173 | 173 |
174 enable_swarm_tests = builder_name in ('linux', 'linux_rel', 'mac', 'mac_rel', | 174 enable_swarm_tests = builder_name in ('linux', 'linux_rel', 'mac', 'mac_rel', |
175 'win', 'win_rel') | 175 'win', 'win_rel') |
176 | 176 |
| 177 # Ensure that all targets are build when compiling with swarm enabled. |
| 178 if enable_swarm_tests: |
| 179 options.append('all') |
| 180 |
177 if annotation_script: | 181 if annotation_script: |
178 # Note new slave type AnnotatedTrybot; we don't want a compile step added | 182 # Note new slave type AnnotatedTrybot; we don't want a compile step added |
179 # in gclient_factory.py. | 183 # in gclient_factory.py. |
180 # TODO(jrg): is a new slave type the right direction? | 184 # TODO(jrg): is a new slave type the right direction? |
181 builder_factory = factory.ChromiumAnnotationFactory( | 185 builder_factory = factory.ChromiumAnnotationFactory( |
182 slave_type='AnnotatedTrybot', target=target, tests=tests, | 186 slave_type='AnnotatedTrybot', target=target, tests=tests, |
183 options=options, | 187 options=options, |
184 compile_timeout=timeout, project=project, | 188 compile_timeout=timeout, project=project, |
185 factory_properties=factory_properties, | 189 factory_properties=factory_properties, |
186 annotation_script=annotation_script) | 190 annotation_script=annotation_script) |
(...skipping 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1817 ####### PROJECT IDENTITY | 1821 ####### PROJECT IDENTITY |
1818 | 1822 |
1819 # The 'projectURL' string will be used to provide a link | 1823 # The 'projectURL' string will be used to provide a link |
1820 # from buildbot HTML pages to your project's home page. | 1824 # from buildbot HTML pages to your project's home page. |
1821 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 1825 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
1822 | 1826 |
1823 # Buildbot master url: | 1827 # Buildbot master url: |
1824 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' | 1828 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' |
1825 | 1829 |
1826 # vi: set ts=4 sts=2 sw=2 et: | 1830 # vi: set ts=4 sts=2 sw=2 et: |
OLD | NEW |