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

Side by Side Diff: mojo/public/tools/mopy/android.py

Issue 878933003: Move the apptest runner and parts of mopy to the public SDK. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/public/tools/mopy/__init__.py ('k') | mojo/public/tools/mopy/background_app_group.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 atexit 6 import atexit
7 import logging 7 import logging
8 import os 8 import os
9 import os.path 9 import os.path
10 import subprocess 10 import subprocess
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 stdout=sys.stdout) 199 stdout=sys.stdout)
200 atexit.register(_ExitIfNeeded, logcat) 200 atexit.register(_ExitIfNeeded, logcat)
201 return logcat 201 return logcat
202 202
203 203
204 def GetFilePath(filename): 204 def GetFilePath(filename):
205 """ 205 """
206 Returns a path suitable for the application to create a file. 206 Returns a path suitable for the application to create a file.
207 """ 207 """
208 return '/data/data/%s/files/%s' % (MOJO_SHELL_PACKAGE_NAME, filename) 208 return '/data/data/%s/files/%s' % (MOJO_SHELL_PACKAGE_NAME, filename)
OLDNEW
« no previous file with comments | « mojo/public/tools/mopy/__init__.py ('k') | mojo/public/tools/mopy/background_app_group.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698