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

Unified Diff: recipe_engine/doc.py

Issue 2512253002: Add name, package_repo_resource and resource support to recipe scripts. (Closed)
Patch Set: Fix bug, add additional test Created 4 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
Index: recipe_engine/doc.py
diff --git a/recipe_engine/doc.py b/recipe_engine/doc.py
old mode 100644
new mode 100755
index 24ddc7e0c41a047b7cc15e1bdecffcff9bd6eab7..6107a4da23042fb0ad00877f242160bd62045738
--- a/recipe_engine/doc.py
+++ b/recipe_engine/doc.py
@@ -100,7 +100,8 @@ def main(universe_view):
deps[module_name] = universe.load(universe_view.package, module_name)
inst = loader.create_recipe_api(
- deps, recipe_run.RecipeEngine(None, {}, universe))
+ universe.package_deps.root_package,
+ deps, "fake_doc_recipe.py", recipe_run.RecipeEngine(None, {}, universe))
for mod_name, mod in sorted(deps.iteritems(), key=lambda it: it[0]):
p(0)

Powered by Google App Engine
This is Rietveld 408576698