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

Unified Diff: recipe_modules/infra_paths/path_config.py

Issue 1937953002: depot_tools: create builder cache path config (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 8 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/infra_paths/path_config.py
diff --git a/recipe_modules/infra_paths/path_config.py b/recipe_modules/infra_paths/path_config.py
index f13227c835d1e39c0858b17dc5f6ce9a685463c0..cad820aed7040a1643a5b5e47d5ff9113067cc82 100644
--- a/recipe_modules/infra_paths/path_config.py
+++ b/recipe_modules/infra_paths/path_config.py
@@ -36,15 +36,10 @@ def infra_kitchen(c):
if c.PLATFORM == 'linux':
c.base_paths['cache'] = (
'/', 'b', 'cache', 'chromium')
- c.base_paths['git_cache'] = (
- '/', 'b', 'cache', 'chromium', 'git_cache')
- c.base_paths['goma_cache'] = (
- '/', 'b', 'cache', 'chromium', 'goma_cache')
- c.base_paths['goma_deps_cache'] = (
- '/', 'b', 'cache', 'chromium', 'goma_deps_cache')
+ for path in ('builder_cache', 'git_cache', 'goma_cache', 'goma_deps_cache'):
+ c.base_paths[path] = c.base_paths['cache'] + (path,)
else:
c.base_paths['cache'] = c.base_paths['root'] + ('cache',)
c.base_paths['git_cache'] = c.base_paths['root'] + ('cache_dir',)
- c.base_paths['goma_cache'] = c.base_paths['root'] + ('goma_cache',)
- c.base_paths['goma_deps_cache'] = c.base_paths['root'] + (
- 'goma_deps_cache',)
+ for path in ('builder_cache', 'goma_cache', 'goma_deps_cache'):
+ c.base_paths[path] = c.base_paths['cache'] + (path,)
« 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