summaryrefslogtreecommitdiffstats
path: root/build/android
diff options
context:
space:
mode:
authormikecase <mikecase@chromium.org>2016-02-04 10:35:58 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-04 18:36:57 +0000
commit39bba3611d09d5cd4e72f62c2dfba6513dd1ca5d (patch)
treeea7776129e789ccd313885e28f7a2cb0ab49167b /build/android
parentcc7a86a5e040c3ebfa3a90d162558ab808d06988 (diff)
downloadchromium_src-39bba3611d09d5cd4e72f62c2dfba6513dd1ca5d.zip
chromium_src-39bba3611d09d5cd4e72f62c2dfba6513dd1ca5d.tar.gz
chromium_src-39bba3611d09d5cd4e72f62c2dfba6513dd1ca5d.tar.bz2
[Android] Add output_file property to logcat monitor.
Adding this for convienance to access logcat output if you happen to want to do things with the files (like merge them) after recording. This way to just don't have to store the file names alongside the logcat_monitors. BUG= Review URL: https://codereview.chromium.org/1668703002 Cr-Commit-Position: refs/heads/master@{#373569}
Diffstat (limited to 'build/android')
-rw-r--r--build/android/devil/android/logcat_monitor.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/android/devil/android/logcat_monitor.py b/build/android/devil/android/logcat_monitor.py
index 5a0c981..9ec9412 100644
--- a/build/android/devil/android/logcat_monitor.py
+++ b/build/android/devil/android/logcat_monitor.py
@@ -48,6 +48,10 @@ class LogcatMonitor(object):
self._record_thread = None
self._stop_recording_event = threading.Event()
+ @property
+ def output_file(self):
+ return self._output_file
+
@decorators.WithTimeoutAndRetriesDefaults(10, 0)
def WaitFor(self, success_regex, failure_regex=None, timeout=None,
retries=None):