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

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

Issue 196313003: Add chrome_canary to list of known android builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 # 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 30 matching lines...) Expand all
41 'com.google.android.apps.chrome.Main', 41 'com.google.android.apps.chrome.Main',
42 '/data/local/chrome-command-line', 42 '/data/local/chrome-command-line',
43 'chrome_devtools_remote', 43 'chrome_devtools_remote',
44 None), 44 None),
45 'chrome_dev': PackageInfo( 45 'chrome_dev': PackageInfo(
46 'com.google.android.apps.chrome_dev', 46 'com.google.android.apps.chrome_dev',
47 'com.google.android.apps.chrome.Main', 47 'com.google.android.apps.chrome.Main',
48 '/data/local/chrome-command-line', 48 '/data/local/chrome-command-line',
49 'chrome_devtools_remote', 49 'chrome_devtools_remote',
50 None), 50 None),
51 'chrome_canary': PackageInfo(
52 'com.chrome.canary',
53 'com.google.android.apps.chrome.Main',
54 '/data/local/chrome-command-line',
55 'chrome_devtools_remote',
56 None),
51 'legacy_browser': PackageInfo( 57 'legacy_browser': PackageInfo(
52 'com.google.android.browser', 58 'com.google.android.browser',
53 'com.android.browser.BrowserActivity', 59 'com.android.browser.BrowserActivity',
54 None, 60 None,
55 None, 61 None,
56 None), 62 None),
57 'content_shell': PackageInfo( 63 'content_shell': PackageInfo(
58 'org.chromium.content_shell_apk', 64 'org.chromium.content_shell_apk',
59 'org.chromium.content_shell_apk.ContentShellActivity', 65 'org.chromium.content_shell_apk.ContentShellActivity',
60 '/data/local/tmp/content-shell-command-line', 66 '/data/local/tmp/content-shell-command-line',
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull) 195 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull)
190 return 'adb' 196 return 'adb'
191 except OSError: 197 except OSError:
192 logging.debug('No adb found in $PATH, fallback to checked in binary.') 198 logging.debug('No adb found in $PATH, fallback to checked in binary.')
193 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb') 199 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb')
194 200
195 201
196 # Exit codes 202 # Exit codes
197 ERROR_EXIT_CODE = 1 203 ERROR_EXIT_CODE = 1
198 WARNING_EXIT_CODE = 88 204 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