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 000632b1228a4b9ec84ae8d46e8ea4e597876493..482965f72e1ac2389f19ab8c905b80864c259238 100644 |
--- a/build/android/pylib/device_stats_monitor.py |
+++ b/build/android/pylib/device_stats_monitor.py |
@@ -29,10 +29,11 @@ class DeviceStatsMonitor(object): |
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, build_type): |
+ def __init__(self, adb, hz): |
self._adb = adb |
host_path = os.path.abspath(os.path.join( |
- constants.DIR_SOURCE_ROOT, 'out', build_type, 'device_stats_monitor')) |
+ constants.DIR_SOURCE_ROOT, 'out', constants.GetBuildType(), |
+ 'device_stats_monitor')) |
self._adb.PushIfNeeded(host_path, DeviceStatsMonitor.DEVICE_PATH) |
self._hz = hz |