OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 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 import argparse | 6 import argparse |
7 import codecs | 7 import codecs |
8 import logging | 8 import logging |
9 import os.path | 9 import os.path |
10 import requests | 10 import requests |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 _add_device_command(subparsers) | 301 _add_device_command(subparsers) |
302 _add_tracing_command(subparsers) | 302 _add_tracing_command(subparsers) |
303 _add_wm_command(subparsers) | 303 _add_wm_command(subparsers) |
304 _add_gdb_command(subparsers) | 304 _add_gdb_command(subparsers) |
305 | 305 |
306 args = parser.parse_args() | 306 args = parser.parse_args() |
307 return args.func(args) | 307 return args.func(args) |
308 | 308 |
309 if __name__ == '__main__': | 309 if __name__ == '__main__': |
310 sys.exit(main()) | 310 sys.exit(main()) |
OLD | NEW |