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

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

Issue 24220004: [android] Supply the correct activities for beta/stable packages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | 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 6
7 import collections 7 import collections
8 import os 8 import os
9 import subprocess 9 import subprocess
10 import sys 10 import sys
(...skipping 15 matching lines...) Expand all
26 26
27 PACKAGE_INFO = { 27 PACKAGE_INFO = {
28 'chrome': PackageInfo( 28 'chrome': PackageInfo(
29 'com.google.android.apps.chrome', 29 'com.google.android.apps.chrome',
30 'com.google.android.apps.chrome.Main', 30 'com.google.android.apps.chrome.Main',
31 '/data/local/chrome-command-line', 31 '/data/local/chrome-command-line',
32 'chrome_devtools_remote', 32 'chrome_devtools_remote',
33 'com.google.android.apps.chrome.tests'), 33 'com.google.android.apps.chrome.tests'),
34 'chrome_beta': PackageInfo( 34 'chrome_beta': PackageInfo(
35 'com.chrome.beta', 35 'com.chrome.beta',
36 'com.chrome.beta.Main', 36 'com.google.android.apps.chrome.Main',
37 '/data/local/chrome-command-line', 37 '/data/local/chrome-command-line',
38 'chrome_devtools_remote', 38 'chrome_devtools_remote',
39 None), 39 None),
40 'chrome_stable': PackageInfo( 40 'chrome_stable': PackageInfo(
41 'com.android.chrome', 41 'com.android.chrome',
42 'com.android.chrome.Main', 42 'com.google.android.apps.chrome.Main',
43 '/data/local/chrome-command-line', 43 '/data/local/chrome-command-line',
44 'chrome_devtools_remote', 44 'chrome_devtools_remote',
45 None), 45 None),
46 'legacy_browser': PackageInfo( 46 'legacy_browser': PackageInfo(
47 'com.google.android.browser', 47 'com.google.android.browser',
48 'com.android.browser.BrowserActivity', 48 'com.android.browser.BrowserActivity',
49 None, 49 None,
50 None, 50 None,
51 None), 51 None),
52 'content_shell': PackageInfo( 52 'content_shell': PackageInfo(
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 except OSError: 152 except OSError:
153 print >> sys.stderr, 'No adb found in $PATH, fallback to checked in binary.' 153 print >> sys.stderr, 'No adb found in $PATH, fallback to checked in binary.'
154 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb') 154 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb')
155 155
156 156
157 ADB_PATH = _GetADBPath() 157 ADB_PATH = _GetADBPath()
158 158
159 # Exit codes 159 # Exit codes
160 ERROR_EXIT_CODE = 1 160 ERROR_EXIT_CODE = 1
161 WARNING_EXIT_CODE = 88 161 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