Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: build/android/pylib/constants.py

Issue 13496004: [Android] Set flags for uiautomator based on annotations not test name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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'
OLDNEW
« no previous file with comments | « no previous file | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698