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

Side by Side Diff: build/android/adb_logcat_monitor.py

Issue 10693110: [android] Split top-level scripts and libraries from build/android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright on __init__.py, removed #! on some pylib/ files. Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/android/adb_logcat_printer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Saves logcats from all connected devices. 7 """Saves logcats from all connected devices.
8 8
9 Usage: adb_logcat_monitor.py <base_dir> [<adb_binary_path>] 9 Usage: adb_logcat_monitor.py <base_dir> [<adb_binary_path>]
10 10
11 This script will repeatedly poll adb for new devices and save logcats 11 This script will repeatedly poll adb for new devices and save logcats
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 pass 146 pass
147 os.remove(pid_file_path) 147 os.remove(pid_file_path)
148 148
149 149
150 if __name__ == '__main__': 150 if __name__ == '__main__':
151 if 2 <= len(sys.argv) <= 3: 151 if 2 <= len(sys.argv) <= 3:
152 print 'adb_logcat_monitor: Initializing' 152 print 'adb_logcat_monitor: Initializing'
153 sys.exit(main(*sys.argv[1:3])) 153 sys.exit(main(*sys.argv[1:3]))
154 154
155 print 'Usage: %s <base_dir> [<adb_binary_path>]' % sys.argv[0] 155 print 'Usage: %s <base_dir> [<adb_binary_path>]' % sys.argv[0]
OLDNEW
« no previous file with comments | « no previous file | build/android/adb_logcat_printer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698