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

Unified Diff: third_party/recipe_engine/recipe_util.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: third_party/recipe_engine/recipe_util.py
diff --git a/scripts/slave/recipe_util.py b/third_party/recipe_engine/recipe_util.py
similarity index 88%
rename from scripts/slave/recipe_util.py
rename to third_party/recipe_engine/recipe_util.py
index e4095c27e47fc2b28e7715978020afb33ce0ef10..f3205d44206cf912d036988cec656a24badc9802 100644
--- a/scripts/slave/recipe_util.py
+++ b/third_party/recipe_engine/recipe_util.py
@@ -7,20 +7,6 @@ import os
from cStringIO import StringIO
-
-SCRIPT_PATH = os.path.dirname(os.path.abspath(__file__))
-BUILD_ROOT = os.path.dirname(os.path.dirname(SCRIPT_PATH))
-ROOT_PATH = os.path.abspath(os.path.join(
- SCRIPT_PATH, os.pardir, os.pardir, os.pardir))
-BASE_DIRS = [
- SCRIPT_PATH,
- os.path.join(ROOT_PATH, 'build_internal', 'scripts', 'slave'),
- os.path.join(ROOT_PATH, 'build_internal', 'scripts', 'slave-internal')
-]
-MODULE_DIRS = lambda: [os.path.join(x, 'recipe_modules') for x in BASE_DIRS]
-RECIPE_DIRS = lambda: [os.path.join(x, 'recipes') for x in BASE_DIRS]
-
-
class RecipeAbort(Exception):
pass

Powered by Google App Engine
This is Rietveld 408576698