Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: build/android/pylib/device_stats_monitor.py

Issue 22933005: [android] Make build_type a singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix call to _LogToFile Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698