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

Unified Diff: recipe_modules/tryserver/example.py

Issue 1915463002: depot_tools: add infra_paths recipe module for infra-specific paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: rebase 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 | « recipe_modules/tryserver/api.py ('k') | recipe_modules/tryserver/example.expected/with_git_patch.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/tryserver/example.py
diff --git a/recipe_modules/tryserver/example.py b/recipe_modules/tryserver/example.py
index dead670bf8d44eb3cefc5370f3b6766092d7272d..773c154d97c13e8848556a289d6e3cfcbd43e9ab 100644
--- a/recipe_modules/tryserver/example.py
+++ b/recipe_modules/tryserver/example.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
DEPS = [
+ 'infra_paths',
'recipe_engine/path',
'recipe_engine/platform',
'recipe_engine/properties',
@@ -12,7 +13,7 @@ DEPS = [
def RunSteps(api):
- api.path['checkout'] = api.path['slave_build']
+ api.path['checkout'] = api.infra_paths['slave_build']
api.tryserver.maybe_apply_issue()
api.tryserver.get_files_affected_by_patch()
« no previous file with comments | « recipe_modules/tryserver/api.py ('k') | recipe_modules/tryserver/example.expected/with_git_patch.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698