OLD | NEW |
---|---|
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 os | 7 import os |
8 | 8 |
bulach
2012/11/15 01:06:39
revert this file?
Peter Beverloo
2012/11/15 12:11:29
Oops, done.
| |
9 | |
10 CHROME_PACKAGE = 'com.google.android.apps.chrome' | 9 CHROME_PACKAGE = 'com.google.android.apps.chrome' |
11 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' | 10 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' |
12 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' | 11 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' |
13 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' | 12 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' |
14 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity' | 13 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity' |
15 CONTENT_SHELL_PACKAGE = "org.chromium.content_shell" | 14 CONTENT_SHELL_PACKAGE = "org.chromium.content_shell" |
16 CONTENT_SHELL_ACTIVITY = "org.chromium.content_shell.ContentShellActivity" | 15 CONTENT_SHELL_ACTIVITY = "org.chromium.content_shell.ContentShellActivity" |
17 CHROME_SHELL_PACKAGE = 'org.chromium.chrome.browser.test' | 16 CHROME_SHELL_PACKAGE = 'org.chromium.chrome.browser.test' |
18 CHROMIUM_TEST_SHELL_PACKAGE = 'org.chromium.chrome.testshell' | 17 CHROMIUM_TEST_SHELL_PACKAGE = 'org.chromium.chrome.testshell' |
19 | 18 |
(...skipping 21 matching lines...) Expand all Loading... | |
41 # Directories for common java libraries for SDK build. | 40 # Directories for common java libraries for SDK build. |
42 # These constants are defined in build/android/ant/common.xml | 41 # These constants are defined in build/android/ant/common.xml |
43 SDK_BUILD_TEST_JAVALIB_DIR = 'test.lib.java' | 42 SDK_BUILD_TEST_JAVALIB_DIR = 'test.lib.java' |
44 SDK_BUILD_APKS_DIR = 'apks' | 43 SDK_BUILD_APKS_DIR = 'apks' |
45 | 44 |
46 # The directory on the device where perf test output gets saved to. | 45 # The directory on the device where perf test output gets saved to. |
47 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' | 46 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' |
48 | 47 |
49 # Directory on host where screensohts are saved. | 48 # Directory on host where screensohts are saved. |
50 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') | 49 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') |
OLD | NEW |