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

Side by Side Diff: mojo/tools/android_mojo_shell.py

Issue 1128153002: Rename the devtools library: pylib -> devtoolslib. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address offline comments/ devtools_lib -> devtoolslib. Created 5 years, 7 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
« no previous file with comments | « mojo/devtools/common/pylib/shell.py ('k') | mojo/tools/apptest_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/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 logging 7 import logging
8 import sys 8 import sys
9 9
10 import devtools 10 import devtools
11 devtools.add_pylib_to_path() 11 devtools.add_lib_to_path()
12 from pylib.android_shell import AndroidShell 12 from devtoolslib.android_shell import AndroidShell
13 13
14 from mopy.config import Config 14 from mopy.config import Config
15 from mopy.paths import Paths 15 from mopy.paths import Paths
16 16
17 USAGE = ("android_mojo_shell.py " 17 USAGE = ("android_mojo_shell.py "
18 "[--args-for=<mojo-app>] " 18 "[--args-for=<mojo-app>] "
19 "[--content-handlers=<handlers>] " 19 "[--content-handlers=<handlers>] "
20 "[--enable-external-applications] " 20 "[--enable-external-applications] "
21 "[--disable-cache] " 21 "[--disable-cache] "
22 "[--enable-multiprocess] " 22 "[--enable-multiprocess] "
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 shell.InstallApk(paths.target_mojo_shell_path) 60 shell.InstallApk(paths.target_mojo_shell_path)
61 args.append("--origin=" + launcher_args.origin if launcher_args.origin else 61 args.append("--origin=" + launcher_args.origin if launcher_args.origin else
62 shell.SetUpLocalOrigin(paths.build_dir)) 62 shell.SetUpLocalOrigin(paths.build_dir))
63 63
64 shell.Run(args) 64 shell.Run(args)
65 return 0 65 return 0
66 66
67 67
68 if __name__ == "__main__": 68 if __name__ == "__main__":
69 sys.exit(main()) 69 sys.exit(main())
OLDNEW
« no previous file with comments | « mojo/devtools/common/pylib/shell.py ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698