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

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

Issue 22903016: [android] Adds constants.GetOutDirectory() and converts test scripts to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update adb_install_apk.py 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 482965f72e1ac2389f19ab8c905b80864c259238..486f994cb66c876a04702dcaaa0354e224aa128f 100644
--- a/build/android/pylib/device_stats_monitor.py
+++ b/build/android/pylib/device_stats_monitor.py
@@ -31,9 +31,8 @@ class DeviceStatsMonitor(object):
def __init__(self, adb, hz):
self._adb = adb
- host_path = os.path.abspath(os.path.join(
- constants.DIR_SOURCE_ROOT, 'out', constants.GetBuildType(),
- 'device_stats_monitor'))
+ host_path = os.path.join(
+ constants.GetBuildDirectory(), 'device_stats_monitor')
self._adb.PushIfNeeded(host_path, DeviceStatsMonitor.DEVICE_PATH)
self._hz = hz

Powered by Google App Engine
This is Rietveld 408576698