Chromium Code Reviews

Unified Diff: recipe_modules/depot_tools/api.py

Issue 1917803002: depot_tools: expose path to cros (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.
Jump to:
View side-by-side diff with in-line comments
« 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/depot_tools/api.py
diff --git a/recipe_modules/depot_tools/api.py b/recipe_modules/depot_tools/api.py
index edebb9333564d588f6ecab4eaae64e3eac8027b8..53b7a22432490a662aa812c748351f5d0eaf94bc 100644
--- a/recipe_modules/depot_tools/api.py
+++ b/recipe_modules/depot_tools/api.py
@@ -10,6 +10,10 @@ class DepotToolsApi(recipe_api.RecipeApi):
return self.package_repo_resource('download_from_google_storage.py')
@property
+ def cros_path(self):
+ return self.package_repo_resource('cros')
+
+ @property
def gn_py_path(self):
return self.package_repo_resource('gn.py')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine