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

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

Issue 8667008: Fix python scripts in src/build/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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/base_test_runner.py » ('j') | build/android/lighttpd_server.py » ('J')
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 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Provides an interface to communicate with the device via the adb command. 6 """Provides an interface to communicate with the device via the adb command.
7 7
8 Assumes adb binary is currently on system path. 8 Assumes adb binary is currently on system path.
9 9
10 Usage: 10 Usage:
11 python android_commands.py wait-for-pm 11 python android_commands.py wait-for-pm
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 options, args = option_parser.parse_args(argv) 767 options, args = option_parser.parse_args(argv)
768 768
769 commands = AndroidCommands(wait_for_pm=options.wait_for_pm) 769 commands = AndroidCommands(wait_for_pm=options.wait_for_pm)
770 if options.set_asserts != None: 770 if options.set_asserts != None:
771 if commands.SetJavaAssertsEnabled(options.set_asserts): 771 if commands.SetJavaAssertsEnabled(options.set_asserts):
772 commands.Reboot(full_reboot=False) 772 commands.Reboot(full_reboot=False)
773 773
774 774
775 if __name__ == '__main__': 775 if __name__ == '__main__':
776 main(sys.argv) 776 main(sys.argv)
OLDNEW
« no previous file with comments | « no previous file | build/android/base_test_runner.py » ('j') | build/android/lighttpd_server.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698