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

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: Better config option name. 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 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..b7da9be2e63641f0e9ce572e9a6ba7e9cd761aa3 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.repo_cache_dir and self.c.cbb.supports_repo_cache:
+ cbb_args.extend(['--repo-cache', self.c.repo_cache_dir])
# 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