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

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: Moved field_composer_test with its buddies 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
« no previous file with comments | « scripts/tools/runit.py ('k') | third_party/recipe_engine/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5412d6633527a483e5ac651dd66f99c16ed1b281 100755
--- a/scripts/tools/show_me_the_modules.py
+++ b/scripts/tools/show_me_the_modules.py
@@ -14,10 +14,11 @@ 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 main as recipe_main
+from recipe_engine import recipe_api
+from recipe_engine import loader
+
+from slave import recipe_universe
def trim_doc(docstring):
"""From PEP 257"""
@@ -85,14 +86,14 @@ 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(
- deps, annotated_run.SequentialRecipeEngine(None, {}, None))
+ inst = loader.create_recipe_api(
+ deps, recipe_main.SequentialRecipeEngine(None, {}, None))
for mod_name, mod in deps.iteritems():
p(0)
« no previous file with comments | « scripts/tools/runit.py ('k') | third_party/recipe_engine/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698