Index: build/android/pylib/__init__.py |
diff --git a/build/android/pylib/__init__.py b/build/android/pylib/__init__.py |
index 96196cffb2720d69ac46a41dd9bb9f4005bcfa9e..16ee312e7c6f25d0fb03d594bfb0ef59a5989829 100644 |
--- a/build/android/pylib/__init__.py |
+++ b/build/android/pylib/__init__.py |
@@ -1,3 +1,13 @@ |
# Copyright (c) 2012 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. |
+ |
+import os |
+import sys |
+ |
+_DEVIL_PATH = os.path.abspath(os.path.join( |
+ os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult', |
+ 'devil')) |
+ |
+if _DEVIL_PATH not in sys.path: |
+ sys.path.append(_DEVIL_PATH) |