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

Unified Diff: recipe_modules/path/config.py

Issue 1667713002: add git_cache to base_paths (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: Created 4 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/path/config.py
diff --git a/recipe_modules/path/config.py b/recipe_modules/path/config.py
index 9db8b4ad48e27fcfaf49319cad85493dc411f50b..811c592b11040980aec2f091a5199dc34cb4f7fe 100644
--- a/recipe_modules/path/config.py
+++ b/recipe_modules/path/config.py
@@ -36,6 +36,7 @@ def BASE(c):
def buildbot(c):
c.base_paths['root'] = c.CURRENT_WORKING_DIR[:-4]
c.base_paths['slave_build'] = c.CURRENT_WORKING_DIR
+ c.base_paths['git_cache'] = c.base_paths['root'] + ('slave', 'cache_dir')
for token in ('build_internal', 'build', 'depot_tools'):
c.base_paths[token] = c.base_paths['root'] + (token,)
c.dynamic_paths['checkout'] = None
@@ -56,4 +57,5 @@ def kitchen(c):
# TODO(phajdan.jr): Fully implement the kitchen config.
c.base_paths['root'] = c.CURRENT_WORKING_DIR
c.base_paths['slave_build'] = c.CURRENT_WORKING_DIR
+ c.base_paths['git_cache'] = c.base_paths['root'] + ('cache_dir',)
c.dynamic_paths['checkout'] = None
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698