summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorfrankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-19 04:06:26 +0000
committerfrankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-19 04:06:26 +0000
commit868c619f617e630a0d730d138fb6273006654526 (patch)
treeffdc4c0afffa72b84a7b1b113fd03b03efb445d2 /build
parent01d1bf37387df89d4f2e0cc9be525a7d0a3cae88 (diff)
downloadchromium_src-868c619f617e630a0d730d138fb6273006654526.zip
chromium_src-868c619f617e630a0d730d138fb6273006654526.tar.gz
chromium_src-868c619f617e630a0d730d138fb6273006654526.tar.bz2
[Android] Clear adb logcat during adb_logcat_monitor startup.
BUG=249039 NOTRY=True Review URL: https://chromiumcodereview.appspot.com/17438004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/adb_logcat_monitor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/android/adb_logcat_monitor.py b/build/android/adb_logcat_monitor.py
index aeaef0b..35ef790 100755
--- a/build/android/adb_logcat_monitor.py
+++ b/build/android/adb_logcat_monitor.py
@@ -126,6 +126,7 @@ def main(base_dir, adb_cmd='adb'):
while True:
for device_id in GetAttachedDevices(adb_cmd):
if not device_id in devices:
+ subprocess.call([adb_cmd, '-s', device_id, 'logcat', '-c'])
devices[device_id] = (None, 0)
for device in devices: