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

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

Issue 8364020: Upstream: Test scripts for Android (phase 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync again Created 9 years, 2 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/base_test_runner.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/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:
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 help='Removes the dalvik.vm.enableassertions property') 766 help='Removes the dalvik.vm.enableassertions property')
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 print os.path.abspath(os.path.dirname(__file__))
777 main(sys.argv) 776 main(sys.argv)
OLDNEW
« no previous file with comments | « no previous file | build/android/base_test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698