Index: build/android/incremental_install/installer.py |
diff --git a/build/android/incremental_install/installer.py b/build/android/incremental_install/installer.py |
index 373889df89d30c7b68b5f652674e148035b8ec81..ff6e08e089942a04af1c7f83dce624226d94a655 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 |
@@ -253,6 +255,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. |