Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import cgi | 5 import cgi |
| 6 import re | 6 import re |
| 7 | 7 |
| 8 from recipe_engine import recipe_api | 8 from recipe_engine import recipe_api |
| 9 | 9 |
| 10 | 10 |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 341 if self.c.cbb.chrome_rev: | 341 if self.c.cbb.chrome_rev: |
| 342 cbb_args.extend(['--chrome_rev', self.c.cbb.chrome_rev]) | 342 cbb_args.extend(['--chrome_rev', self.c.cbb.chrome_rev]) |
| 343 if self.c.cbb.debug: | 343 if self.c.cbb.debug: |
| 344 cbb_args.extend(['--debug']) | 344 cbb_args.extend(['--debug']) |
| 345 if self.c.cbb.clobber: | 345 if self.c.cbb.clobber: |
| 346 cbb_args.extend(['--clobber']) | 346 cbb_args.extend(['--clobber']) |
| 347 if self.c.cbb.chrome_version: | 347 if self.c.cbb.chrome_version: |
| 348 cbb_args.extend(['--chrome_version', self.c.cbb.chrome_version]) | 348 cbb_args.extend(['--chrome_version', self.c.cbb.chrome_version]) |
| 349 if self.c.cbb.config_repo: | 349 if self.c.cbb.config_repo: |
| 350 cbb_args.extend(['--config_repo', self.c.cbb.config_repo]) | 350 cbb_args.extend(['--config_repo', self.c.cbb.config_repo]) |
| 351 if self.c.warm_cache_dir and self.c.cbb.supports_warm_cache: | |
| 352 cbb_args.extend(['--buildbot-warm-cache-path', self.c.warm_cache_dir]) | |
|
dgarrett
2016/05/27 23:13:52
--buildbot-warm-cache-path -> --warm-cache-path
| |
| 351 | 353 |
| 352 # Set the build ID, if specified. | 354 # Set the build ID, if specified. |
| 353 if self.c.cbb.build_id: | 355 if self.c.cbb.build_id: |
| 354 cbb_args.extend(['--master-build-id', self.c.cbb.build_id]) | 356 cbb_args.extend(['--master-build-id', self.c.cbb.build_id]) |
| 355 | 357 |
| 356 # Add custom args, if there are any. | 358 # Add custom args, if there are any. |
| 357 cbb_args.extend(args) | 359 cbb_args.extend(args) |
| 358 | 360 |
| 359 # Run cbuildbot. | 361 # Run cbuildbot. |
| 360 return self.cbuildbot(str('cbuildbot [%s]' % (self.c.cbb.config,)), | 362 return self.cbuildbot(str('cbuildbot [%s]' % (self.c.cbb.config,)), |
| 361 self.c.cbb.config, | 363 self.c.cbb.config, |
| 362 args=cbb_args, | 364 args=cbb_args, |
| 363 cwd=self.m.path['slave_build']) | 365 cwd=self.m.path['slave_build']) |
| OLD | NEW |