Index: build/android/devil_chromium.py |
diff --git a/build/android/devil_chromium.py b/build/android/devil_chromium.py |
index c7142ed63a0200ec1c8d59e90661b2bc7471bf8b..8472f659bdcfd1881f9bbff155f524236cbeec8d 100644 |
--- a/build/android/devil_chromium.py |
+++ b/build/android/devil_chromium.py |
@@ -5,9 +5,14 @@ |
"""Configures devil for use in chromium.""" |
import os |
+import sys |
-from devil import devil_env |
+from pylib.constants import host_paths |
+ |
+if host_paths.DEVIL_PATH not in sys.path: |
+ sys.path.append(host_paths.DEVIL_PATH) |
+from devil import devil_env |
_DEVIL_CONFIG = os.path.abspath( |
os.path.join(os.path.dirname(__file__), 'devil_chromium.json')) |
@@ -126,6 +131,7 @@ def Initialize(output_directory=None, custom_deps=None): |
'dependencies': {}, |
} |
if output_directory: |
+ output_directory = os.path.abspath(output_directory) |
devil_dynamic_config['dependencies'] = { |
dep_name: { |
'file_info': { |