Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: scripts/slave/recipe_modules/chromite/api.py

Issue 2019593003: chromite recipe: Add warm cache flag support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromite/config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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'])
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromite/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698