Index: build/android/pylib/valgrind_tools.py |
diff --git a/build/android/pylib/valgrind_tools.py b/build/android/pylib/valgrind_tools.py |
index f11ab03c68390fadfed1510ea6757548a8e8e0c4..69f351a674c436248d5007e1246f99f27942c79f 100644 |
--- a/build/android/pylib/valgrind_tools.py |
+++ b/build/android/pylib/valgrind_tools.py |
@@ -117,7 +117,7 @@ class AddressSanitizerTool(BaseTool): |
"""Copies ASan tools to the device.""" |
subprocess.call([os.path.join(DIR_SOURCE_ROOT, |
'tools/android/asan/asan_device_setup.sh'), |
- '--device', self._device.old_interface.GetDevice(), |
+ '--device', str(self._device), |
'--lib', self._lib, |
'--extra-options', AddressSanitizerTool.EXTRA_OPTIONS]) |
self._device.WaitUntilFullyBooted() |