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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromite/config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromite/api.py
diff --git a/scripts/slave/recipe_modules/chromite/api.py b/scripts/slave/recipe_modules/chromite/api.py
index b8706a9f204729735d1057f9e80aed3038b95be6..442d67627dbd42d070042cca9c5fa9e20a0b4da1 100644
--- a/scripts/slave/recipe_modules/chromite/api.py
+++ b/scripts/slave/recipe_modules/chromite/api.py
@@ -348,6 +348,8 @@ class ChromiteApi(recipe_api.RecipeApi):
cbb_args.extend(['--chrome_version', self.c.cbb.chrome_version])
if self.c.cbb.config_repo:
cbb_args.extend(['--config_repo', self.c.cbb.config_repo])
+ if self.c.warm_cache_dir and self.c.cbb.supports_warm_cache:
+ 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
# Set the build ID, if specified.
if self.c.cbb.build_id:
« 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