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

Unified Diff: recipe_modules/gclient/example.py

Issue 1762513002: Use gclient's git_cache setting in bot_update/api.py (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: test tweaks Created 4 years, 10 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
Index: recipe_modules/gclient/example.py
diff --git a/recipe_modules/gclient/example.py b/recipe_modules/gclient/example.py
index bc392354a4de6cd489def6a04cd05108078c0002..7d1c37d4c305fd6ee29bf42bed92fb1cbac20a2b 100644
--- a/recipe_modules/gclient/example.py
+++ b/recipe_modules/gclient/example.py
@@ -22,6 +22,7 @@ TEST_CONFIGS = [
'chromium',
'chromium_lkcr',
'chromium_lkgr',
+ 'chromium_no_git_cache',
'chromium_skia',
'chromium_webrtc',
'chromium_webrtc_tot',
@@ -58,7 +59,7 @@ def RunSteps(api):
for config_name in TEST_CONFIGS:
api.gclient.make_config(config_name)
- src_cfg = api.gclient.make_config(GIT_MODE=True)
+ src_cfg = api.gclient.make_config(GIT_MODE=True, CACHE_DIR='[ROOT]/git_cache')
soln = src_cfg.solutions.add()
soln.name = 'src'
soln.url = 'https://chromium.googlesource.com/chromium/src.git'

Powered by Google App Engine
This is Rietveld 408576698