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

Unified Diff: scripts/tools/show_me_the_modules.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Copyright notices Created 5 years, 7 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
Index: scripts/tools/show_me_the_modules.py
diff --git a/scripts/tools/show_me_the_modules.py b/scripts/tools/show_me_the_modules.py
index 728c4dfb011f3235a50ee9bdb69a42eb75716c97..7ae7cab290d13bdc64c0a40cc90ebfe360321e32 100755
--- a/scripts/tools/show_me_the_modules.py
+++ b/scripts/tools/show_me_the_modules.py
@@ -14,10 +14,12 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
sys.path.append(os.path.join(os.path.dirname(__file__),
'..', '..', 'third_party'))
-from slave import annotated_run
-from slave import recipe_api
-from slave import recipe_loader
-from slave import recipe_util
+from recipe_engine import annotated_run
+from recipe_engine import recipe_api
+from recipe_engine import recipe_loader
+from recipe_engine import recipe_util
+
+from slave import recipe_universe
def trim_doc(docstring):
"""From PEP 257"""
@@ -85,10 +87,10 @@ def main():
for method in sorted(common_methods):
pmethod(1, method, getattr(recipe_api.RecipeApi, method))
- universe = recipe_loader.RecipeUniverse()
+ universe = recipe_universe.get_universe()
deps = universe.deps_from_paths(
{ modpath: modpath
- for modpath in recipe_loader.loop_over_recipe_modules() },
+ for modpath in universe.loop_over_recipe_modules() },
base_path=None)
inst = recipe_loader.create_recipe_api(

Powered by Google App Engine
This is Rietveld 408576698