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

Unified Diff: build/android/device_stats_monitor.py

Issue 10836323: Change Android build configurations (step 2). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unnecessary changes Created 8 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
« no previous file with comments | « build/android/adb_install_content_shell ('k') | build/android/gdb_apk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/device_stats_monitor.py
diff --git a/build/android/device_stats_monitor.py b/build/android/device_stats_monitor.py
index 1d4fba2bd23689f37ebe587ba31bd10ab39a937d..181c3db5ff3e5cbde40fa7b3ce76e5b0e81dc853 100755
--- a/build/android/device_stats_monitor.py
+++ b/build/android/device_stats_monitor.py
@@ -17,6 +17,7 @@ import time
from pylib import android_commands
from pylib import device_stats_monitor
+from pylib import test_options_parser
def main(argv):
@@ -27,10 +28,11 @@ def main(argv):
help='Seconds to monitor.')
option_parser.add_option('--outfile', default='/tmp/devicestatsmonitor',
help='Location to start output file.')
+ test_options_parser.AddBuildTypeOption(option_parser)
options, args = option_parser.parse_args(argv)
monitor = device_stats_monitor.DeviceStatsMonitor(
- android_commands.AndroidCommands(), options.hz)
+ android_commands.AndroidCommands(), options.hz, options.build_type)
monitor.Start()
print 'Waiting for %d seconds while profiling.' % options.duration
time.sleep(options.duration)
« no previous file with comments | « build/android/adb_install_content_shell ('k') | build/android/gdb_apk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698