| 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__), |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 # individual test-server based test. | 56 # individual test-server based test. |
| 57 TEST_SERVER_PORT_FIRST = 10000 | 57 TEST_SERVER_PORT_FIRST = 10000 |
| 58 TEST_SERVER_PORT_LAST = 30000 | 58 TEST_SERVER_PORT_LAST = 30000 |
| 59 # A file to record next valid port of test server. | 59 # A file to record next valid port of test server. |
| 60 TEST_SERVER_PORT_FILE = '/tmp/test_server_port' | 60 TEST_SERVER_PORT_FILE = '/tmp/test_server_port' |
| 61 TEST_SERVER_PORT_LOCKFILE = '/tmp/test_server_port.lock' | 61 TEST_SERVER_PORT_LOCKFILE = '/tmp/test_server_port.lock' |
| 62 | 62 |
| 63 TEST_EXECUTABLE_DIR = '/data/local/tmp' | 63 TEST_EXECUTABLE_DIR = '/data/local/tmp' |
| 64 # Directories for common java libraries for SDK build. | 64 # Directories for common java libraries for SDK build. |
| 65 # These constants are defined in build/android/ant/common.xml | 65 # These constants are defined in build/android/ant/common.xml |
| 66 SDK_BUILD_JAVALIB_DIR = 'lib.java' |
| 66 SDK_BUILD_TEST_JAVALIB_DIR = 'test.lib.java' | 67 SDK_BUILD_TEST_JAVALIB_DIR = 'test.lib.java' |
| 67 SDK_BUILD_APKS_DIR = 'apks' | 68 SDK_BUILD_APKS_DIR = 'apks' |
| 68 | 69 |
| 69 # The directory on the device where perf test output gets saved to. | 70 # The directory on the device where perf test output gets saved to. |
| 70 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' | 71 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' |
| 71 | 72 |
| 72 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') | 73 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') |
| 73 | 74 |
| 74 ANDROID_SDK_VERSION = 17 | 75 ANDROID_SDK_VERSION = 17 |
| 75 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') | 76 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') |
| 76 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') | 77 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') |
| 77 | 78 |
| 78 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' | 79 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' |
| OLD | NEW |