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

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

Issue 863033004: Add com.chrome.work as supported channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | chrome/android/channel.gni » ('j') | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 'com.google.android.apps.chrome.Main', 54 'com.google.android.apps.chrome.Main',
55 '/data/local/chrome-command-line', 55 '/data/local/chrome-command-line',
56 'chrome_devtools_remote', 56 'chrome_devtools_remote',
57 None), 57 None),
58 'chrome_canary': PackageInfo( 58 'chrome_canary': PackageInfo(
59 'com.chrome.canary', 59 'com.chrome.canary',
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 'chrome_work': PackageInfo(
65 "com.chrome.work",
Sami 2015/01/22 14:23:09 nit: single quotes instead of double please.
kerz_chromium 2015/01/22 17:48:17 Acknowledged.
66 'com.google.android.apps.chrome.Main',
67 '/data/local/chrome-command-line',
68 'chrome_devtools_remote',
69 None),
64 'legacy_browser': PackageInfo( 70 'legacy_browser': PackageInfo(
65 'com.google.android.browser', 71 'com.google.android.browser',
66 'com.android.browser.BrowserActivity', 72 'com.android.browser.BrowserActivity',
67 None, 73 None,
68 None, 74 None,
69 None), 75 None),
70 'chromecast_shell': PackageInfo( 76 'chromecast_shell': PackageInfo(
71 'com.google.android.apps.mediashell', 77 'com.google.android.apps.mediashell',
72 'com.google.android.apps.mediashell.MediaShellActivity', 78 'com.google.android.apps.mediashell.MediaShellActivity',
73 '/data/local/tmp/castshell-command-line', 79 '/data/local/tmp/castshell-command-line',
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 with file(os.devnull, 'w') as devnull: 281 with file(os.devnull, 'w') as devnull:
276 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull) 282 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull)
277 return 'adb' 283 return 'adb'
278 except OSError: 284 except OSError:
279 logging.debug('No adb found in $PATH, fallback to checked in binary.') 285 logging.debug('No adb found in $PATH, fallback to checked in binary.')
280 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb') 286 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb')
281 287
282 # Exit codes 288 # Exit codes
283 ERROR_EXIT_CODE = 1 289 ERROR_EXIT_CODE = 1
284 WARNING_EXIT_CODE = 88 290 WARNING_EXIT_CODE = 88
OLDNEW
« no previous file with comments | « no previous file | chrome/android/channel.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698