Index: build/android/incremental_install/installer.py |
diff --git a/build/android/incremental_install/installer.py b/build/android/incremental_install/installer.py |
index b5ed5cec9d570be9993cc935362239eb9bcd5695..f38852cf75802e2df22663061436f4315cab2a7b 100755 |
--- a/build/android/incremental_install/installer.py |
+++ b/build/android/incremental_install/installer.py |
@@ -14,7 +14,9 @@ import posixpath |
import shutil |
import sys |
-sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) |
+sys.path.append( |
+ os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))) |
+import devil_chromium |
from devil.android import apk_helper |
from devil.android import device_utils |
from devil.android import device_errors |
@@ -232,6 +234,8 @@ def main(): |
if args.output_directory: |
constants.SetOutputDirectory(args.output_directory) |
+ devil_chromium.Initialize(output_directory=constants.GetOutputDirectory()) |
+ |
if args.device: |
# Retries are annoying when commands fail for legitimate reasons. Might want |
# to enable them if this is ever used on bots though. |