Index: build/android/pylib/device_stats_monitor.py |
diff --git a/build/android/pylib/device_stats_monitor.py b/build/android/pylib/device_stats_monitor.py |
index 79225028baf7c19ac51276b956181e1ab8eb33da..54ac61a0e7ff901b2d350a4b3b7ff99665db48b3 100644 |
--- a/build/android/pylib/device_stats_monitor.py |
+++ b/build/android/pylib/device_stats_monitor.py |
@@ -24,16 +24,15 @@ class DeviceStatsMonitor(object): |
""" |
DEVICE_PATH = '/data/local/tmp/device_stats_monitor' |
- HOST_PATH = os.path.abspath(os.path.join( |
- constants.CHROME_DIR, 'out', 'Release', 'device_stats_monitor')) |
PROFILE_PATH = '/sdcard/Download/device_stats_monitor.profile' |
RESULT_VIEWER_PATH = os.path.abspath(os.path.join( |
os.path.dirname(os.path.realpath(__file__)), 'device_stats_monitor.html')) |
- def __init__(self, adb, hz): |
+ def __init__(self, adb, hz, build_type): |
self._adb = adb |
- self._adb.PushIfNeeded(DeviceStatsMonitor.HOST_PATH, |
- DeviceStatsMonitor.DEVICE_PATH) |
+ host_path = os.path.abspath(os.path.join( |
+ constants.CHROME_DIR, 'out', build_type, 'device_stats_monitor')) |
+ self._adb.PushIfNeeded(host_path, DeviceStatsMonitor.DEVICE_PATH) |
self._hz = hz |
def Start(self): |