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

Unified Diff: recipe_modules/gclient/api.py

Issue 1673603002: depot_tools: use package_resource to locate gclient.py (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: 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
« no previous file with comments | « no previous file | recipe_modules/gclient/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/gclient/api.py
diff --git a/recipe_modules/gclient/api.py b/recipe_modules/gclient/api.py
index b52dcd9db9b1869ed7652e6ee4ac95c500b15deb..e93de366138a941ce0da79eb6048445781456fa2 100644
--- a/recipe_modules/gclient/api.py
+++ b/recipe_modules/gclient/api.py
@@ -91,7 +91,7 @@ class GclientApi(recipe_api.RecipeApi):
prefix = ('[spec: %s] ' % self.spec_alias) + prefix
return self.m.python(prefix + name,
- self.m.path['depot_tools'].join('gclient.py'),
+ self.package_resource('gclient.py'),
cmd,
infra_step=infra_step,
**kwargs)
« no previous file with comments | « no previous file | recipe_modules/gclient/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698