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, | 12 EMULATOR_SDK_ROOT = os.path.abspath(os.path.join(CHROME_DIR, os.pardir, |
13 os.pardir)) | 13 os.pardir)) |
14 BB_BUILD_DIR = os.path.abspath( | |
Isaac (away)
2013/05/29 20:28:07
keep these out of pylib, put in bb_utils.
Siva Chandra
2013/06/04 00:34:03
Done.
| |
15 os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, | |
16 os.pardir, os.pardir, os.pardir, os.pardir)) | |
17 | |
18 GOMA_DIR = os.path.join(BB_BUILD_DIR, 'goma') | |
14 | 19 |
15 CHROME_PACKAGE = 'com.google.android.apps.chrome' | 20 CHROME_PACKAGE = 'com.google.android.apps.chrome' |
16 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' | 21 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' |
17 CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote' | 22 CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote' |
18 | 23 |
19 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' | 24 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' |
20 | 25 |
21 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' | 26 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' |
22 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity' | 27 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity' |
23 | 28 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
70 # The directory on the device where perf test output gets saved to. | 75 # The directory on the device where perf test output gets saved to. |
71 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' | 76 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' |
72 | 77 |
73 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') | 78 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') |
74 | 79 |
75 ANDROID_SDK_VERSION = 17 | 80 ANDROID_SDK_VERSION = 17 |
76 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') | 81 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') |
77 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') | 82 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') |
78 | 83 |
79 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' | 84 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' |
OLD | NEW |