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

Unified Diff: recipe_engine/package.py

Issue 1421843006: Add simple depends_on API. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Remove old expectation, move tests to their own folder. Created 5 years, 1 month 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_engine/loader.py ('k') | recipe_engine/recipe_api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/package.py
diff --git a/recipe_engine/package.py b/recipe_engine/package.py
index 09c7125cc056a2c7c544d117f34e5956776fc222..56b7717d46053784752aaf7a9d26185e59680710 100644
--- a/recipe_engine/package.py
+++ b/recipe_engine/package.py
@@ -617,6 +617,10 @@ class PackageDeps(object):
for subdir in repo.module_dirs:
yield str(subdir)
+ @property
+ def engine_recipes_py(self):
+ return os.path.join(self._context.repo_root, 'recipes.py')
+
def _run_cmd(cmd, cwd=None):
cwd_str = ' (in %s)' % cwd if cwd else ''
« no previous file with comments | « recipe_engine/loader.py ('k') | recipe_engine/recipe_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698