Index: build/android/pylib/gtest/test_package_exe.py |
diff --git a/build/android/pylib/gtest/test_package_exe.py b/build/android/pylib/gtest/test_package_exe.py |
index 9714c420812261497c358f49145d4523e81dd6f3..5f82aad7b550af76bf23f753b71578251d5df9b1 100644 |
--- a/build/android/pylib/gtest/test_package_exe.py |
+++ b/build/android/pylib/gtest/test_package_exe.py |
@@ -123,7 +123,7 @@ class TestPackageExecutable(TestPackage): |
#override |
def SpawnTestProcess(self, device): |
- args = ['adb', '-s', device.old_interface.GetDevice(), 'shell', 'sh', |
+ args = ['adb', '-s', str(device), 'shell', 'sh', |
constants.TEST_EXECUTABLE_DIR + '/chrome_test_runner.sh'] |
logging.info(args) |
return pexpect.spawn(args[0], args[1:], logfile=sys.stdout) |