1# Copyright 2016 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import collections 6 7PackageInfo = collections.namedtuple( 8 'PackageInfo', 9 ['package', 'activity', 'cmdline_file', 'devtools_socket', 'test_package']) 10 11PACKAGE_INFO = { 12 'chrome_document': PackageInfo( 13 'com.google.android.apps.chrome.document', 14 'com.google.android.apps.chrome.document.ChromeLauncherActivity', 15 '/data/local/chrome-command-line', 16 'chrome_devtools_remote', 17 None), 18 'chrome': PackageInfo( 19 'com.google.android.apps.chrome', 20 'com.google.android.apps.chrome.Main', 21 '/data/local/chrome-command-line', 22 'chrome_devtools_remote', 23 'com.google.android.apps.chrome.tests'), 24 'chrome_beta': PackageInfo( 25 'com.chrome.beta', 26 'com.google.android.apps.chrome.Main', 27 '/data/local/chrome-command-line', 28 'chrome_devtools_remote', 29 None), 30 'chrome_stable': PackageInfo( 31 'com.android.chrome', 32 'com.google.android.apps.chrome.Main', 33 '/data/local/chrome-command-line', 34 'chrome_devtools_remote', 35 None), 36 'chrome_dev': PackageInfo( 37 'com.chrome.dev', 38 'com.google.android.apps.chrome.Main', 39 '/data/local/chrome-command-line', 40 'chrome_devtools_remote', 41 None), 42 'chrome_canary': PackageInfo( 43 'com.chrome.canary', 44 'com.google.android.apps.chrome.Main', 45 '/data/local/chrome-command-line', 46 'chrome_devtools_remote', 47 None), 48 'chrome_work': PackageInfo( 49 'com.chrome.work', 50 'com.google.android.apps.chrome.Main', 51 '/data/local/chrome-command-line', 52 'chrome_devtools_remote', 53 None), 54 'chromium': PackageInfo( 55 'org.chromium.chrome', 56 'com.google.android.apps.chrome.Main', 57 '/data/local/chrome-command-line', 58 'chrome_devtools_remote', 59 'org.chromium.chrome.tests'), 60} 61