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

Unified Diff: scripts/slave/recipes/skia/skia.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/slave/recipes/example/defer_multiple.py ('k') | scripts/slave/unittests/expect_tests/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/skia/skia.py
diff --git a/scripts/slave/recipes/skia/skia.py b/scripts/slave/recipes/skia/skia.py
index 9ee1981c5fe5abed16451fe0148a9b974011f169..c0f0bfbaced88a479e5c98bfadd730d60de0bc3d 100644
--- a/scripts/slave/recipes/skia/skia.py
+++ b/scripts/slave/recipes/skia/skia.py
@@ -5,6 +5,17 @@
# Recipe module for Skia builders.
+# We do this so recipe_lint doesn't find our use of os and sys.
+def setup_path():
+ import os
+ import sys
+
+ # TODO(luqui): Separate the skia common scripts out so we can make this
+ # independent of build/.
+ sys.path.append(
+ os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(
+ os.path.abspath(__file__))))))
+setup_path()
from common.skia import builder_name_schema
« no previous file with comments | « scripts/slave/recipes/example/defer_multiple.py ('k') | scripts/slave/unittests/expect_tests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698