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

Side by Side Diff: build/android/pylib/constants.py

Issue 660683002: Adds Cast on Android as a valid tracing configuration (chromecast_shell). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Defines a set of constants shared by test runners and other scripts.""" 5 """Defines a set of constants shared by test runners and other scripts."""
6 # pylint: disable=W0212 6 # pylint: disable=W0212
7 7
8 import collections 8 import collections
9 import logging 9 import logging
10 import os 10 import os
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 'com.google.android.apps.chrome.Main', 60 'com.google.android.apps.chrome.Main',
61 '/data/local/chrome-command-line', 61 '/data/local/chrome-command-line',
62 'chrome_devtools_remote', 62 'chrome_devtools_remote',
63 None), 63 None),
64 'legacy_browser': PackageInfo( 64 'legacy_browser': PackageInfo(
65 'com.google.android.browser', 65 'com.google.android.browser',
66 'com.android.browser.BrowserActivity', 66 'com.android.browser.BrowserActivity',
67 None, 67 None,
68 None, 68 None,
69 None), 69 None),
70 'chromecast_shell': PackageInfo(
71 'com.google.android.apps.mediashell',
72 'com.google.android.apps.mediashell.MediaShellActivity',
73 '/data/local/tmp/castshell-command-line',
74 None,
75 None),
70 'content_shell': PackageInfo( 76 'content_shell': PackageInfo(
71 'org.chromium.content_shell_apk', 77 'org.chromium.content_shell_apk',
72 'org.chromium.content_shell_apk.ContentShellActivity', 78 'org.chromium.content_shell_apk.ContentShellActivity',
73 '/data/local/tmp/content-shell-command-line', 79 '/data/local/tmp/content-shell-command-line',
74 None, 80 None,
75 'org.chromium.content_shell_apk.tests'), 81 'org.chromium.content_shell_apk.tests'),
76 'chrome_shell': PackageInfo( 82 'chrome_shell': PackageInfo(
77 'org.chromium.chrome.shell', 83 'org.chromium.chrome.shell',
78 'org.chromium.chrome.shell.ChromeShellActivity', 84 'org.chromium.chrome.shell.ChromeShellActivity',
79 '/data/local/tmp/chrome-shell-command-line', 85 '/data/local/tmp/chrome-shell-command-line',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull) 215 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull)
210 return 'adb' 216 return 'adb'
211 except OSError: 217 except OSError:
212 logging.debug('No adb found in $PATH, fallback to checked in binary.') 218 logging.debug('No adb found in $PATH, fallback to checked in binary.')
213 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb') 219 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb')
214 220
215 221
216 # Exit codes 222 # Exit codes
217 ERROR_EXIT_CODE = 1 223 ERROR_EXIT_CODE = 1
218 WARNING_EXIT_CODE = 88 224 WARNING_EXIT_CODE = 88
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698