depot_tools: create builder cache path config

BUG=chromium:596887

Review-Url: https://codereview.chromium.org/1937953002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300403 0039d316-1c4b-4281-b951-d872f2087c98
parent b1a17148
......@@ -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,)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment