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 |
9 | 9 |
10 CHROME_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), | 10 CHROME_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), |
11 os.pardir, os.pardir, os.pardir)) | 11 os.pardir, os.pardir, os.pardir)) |
| 12 EMULATOR_SDK_ROOT = os.path.abspath(os.path.join(CHROME_DIR, os.pardir, |
| 13 os.pardir)) |
12 | 14 |
13 CHROME_PACKAGE = 'com.google.android.apps.chrome' | 15 CHROME_PACKAGE = 'com.google.android.apps.chrome' |
14 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' | 16 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' |
15 CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote' | 17 CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote' |
16 | 18 |
17 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' | 19 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' |
18 | 20 |
19 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' | 21 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' |
20 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity' | 22 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity' |
21 | 23 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 # The directory on the device where perf test output gets saved to. | 69 # The directory on the device where perf test output gets saved to. |
68 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' | 70 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' |
69 | 71 |
70 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') | 72 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') |
71 | 73 |
72 ANDROID_SDK_VERSION = 17 | 74 ANDROID_SDK_VERSION = 17 |
73 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') | 75 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') |
74 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') | 76 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') |
75 | 77 |
76 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' | 78 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' |
OLD | NEW |