Index: build/android/devil/android/tools/flash_device.py |
diff --git a/build/android/devil/android/tools/flash_device.py b/build/android/devil/android/tools/flash_device.py |
index a56a34957d477ee77af72c544695319e732df3c9..75dce2bc91de84129d712648338cb8976e081a1b 100755 |
--- a/build/android/devil/android/tools/flash_device.py |
+++ b/build/android/devil/android/tools/flash_device.py |
@@ -5,8 +5,12 @@ |
import argparse |
import logging |
+import os |
import sys |
+if __name__ == '__main__': |
+ sys.path.append(os.path.abspath(os.path.join( |
+ os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))) |
from devil.android import device_blacklist |
from devil.android import device_errors |
from devil.android import device_utils |