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

Unified Diff: third_party/recipe_engine/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: 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 | « third_party/recipe_engine/unittests/field_composer_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/recipe_engine/util.py
diff --git a/scripts/slave/recipe_util.py b/third_party/recipe_engine/util.py
similarity index 86%
rename from scripts/slave/recipe_util.py
rename to third_party/recipe_engine/util.py
index e4095c27e47fc2b28e7715978020afb33ce0ef10..3a72385a8eeeeb17766a643e3cbe9473bb6ed3e3 100644
--- a/scripts/slave/recipe_util.py
+++ b/third_party/recipe_engine/util.py
@@ -1,4 +1,4 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
+# Copyright 2013-2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -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
« no previous file with comments | « third_party/recipe_engine/unittests/field_composer_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698