Index: build/android/gyp/util/build_device.py |
diff --git a/build/android/gyp/util/build_device.py b/build/android/gyp/util/build_device.py |
index e187c738714eccd2d50f206e0ec46ee975ad67c8..8ab11124f74462b20105efee247298888fe41062 100644 |
--- a/build/android/gyp/util/build_device.py |
+++ b/build/android/gyp/util/build_device.py |
@@ -16,14 +16,11 @@ |
BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), '..', '..') |
sys.path.append(BUILD_ANDROID_DIR) |
-from pylib.device import adb_wrapper |
+from pylib import android_commands |
from pylib.device import device_errors |
from pylib.device import device_utils |
- |
-def GetAttachedDevices(): |
- return [a.GetDeviceSerial() |
- for a in adb_wrapper.Devices()] |
+GetAttachedDevices = android_commands.GetAttachedDevices |
class BuildDevice(object): |