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_PACKAGE = 'com.google.android.apps.chrome' | 10 CHROME_PACKAGE = 'com.google.android.apps.chrome' |
(...skipping 19 matching lines...) Expand all Loading... |
30 # The net test server is started from 10000. Reserve 20000 ports for the all | 30 # The net test server is started from 10000. Reserve 20000 ports for the all |
31 # test-server based tests should be enough for allocating different port for | 31 # test-server based tests should be enough for allocating different port for |
32 # individual test-server based test. | 32 # individual test-server based test. |
33 TEST_SERVER_PORT_FIRST = 10000 | 33 TEST_SERVER_PORT_FIRST = 10000 |
34 TEST_SERVER_PORT_LAST = 30000 | 34 TEST_SERVER_PORT_LAST = 30000 |
35 # A file to record next valid port of test server. | 35 # A file to record next valid port of test server. |
36 TEST_SERVER_PORT_FILE = '/tmp/test_server_port' | 36 TEST_SERVER_PORT_FILE = '/tmp/test_server_port' |
37 TEST_SERVER_PORT_LOCKFILE = '/tmp/test_server_port.lock' | 37 TEST_SERVER_PORT_LOCKFILE = '/tmp/test_server_port.lock' |
38 | 38 |
39 TEST_EXECUTABLE_DIR = '/data/local/tmp' | 39 TEST_EXECUTABLE_DIR = '/data/local/tmp' |
| 40 # Directories for common java libraries for SDK build. |
| 41 # These constants are defined in build/android/ant/common.xml |
| 42 SDK_BUILD_TEST_JAVALIB_DIR = 'test.lib.java' |
| 43 SDK_BUILD_APKS_DIR = 'apks' |
OLD | NEW |