Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index dc683cb5d993fbd0b84a5f8279c0b9ce28dfc859..d8828a2953d30440965bb493cf59e7cb6ca271d6 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -16,6 +16,8 @@ import sys |
import threading |
import unittest |
+import devil_chromium |
+ |
from devil import base_error |
from devil.android import apk_helper |
from devil.android import device_blacklist |
@@ -47,6 +49,10 @@ from pylib.results import json_results |
from pylib.results import report_results |
+_DEVIL_STATIC_CONFIG_FILE = os.path.abspath(os.path.join( |
+ constants.DIR_SOURCE_ROOT, 'build', 'android', 'devil_config.json')) |
+ |
+ |
def AddCommonOptions(parser): |
"""Adds all common options to |parser|.""" |
@@ -111,6 +117,9 @@ def ProcessCommonOptions(args): |
constants.SetOutputDirectory(args.output_directory) |
if args.adb_path: |
constants.SetAdbPath(args.adb_path) |
+ |
+ devil_chromium.Initialize(output_directory=constants.GetOutDirectory()) |
+ |
# Some things such as Forwarder require ADB to be in the environment path. |
adb_dir = os.path.dirname(constants.GetAdbPath()) |
if adb_dir and adb_dir not in os.environ['PATH'].split(os.pathsep): |