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

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

Issue 2488453002: [android] Remove pylib/{remote,uirobot}. (Closed)
Patch Set: Remove remote_device_dummy_apk from rules.gni. Created 4 years, 1 month 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
« no previous file with comments | « build/android/pylib/base/test_run_factory.py ('k') | build/android/pylib/remote/__init__.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 # TODO(jbudorick): Split these constants into coherent modules. 7 # TODO(jbudorick): Split these constants into coherent modules.
8 8
9 # pylint: disable=W0212 9 # pylint: disable=W0212
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 'gyp_py_unittests': { 133 'gyp_py_unittests': {
134 'path': os.path.join(DIR_SOURCE_ROOT, 'build', 'android', 'gyp'), 134 'path': os.path.join(DIR_SOURCE_ROOT, 'build', 'android', 'gyp'),
135 'test_modules': [ 135 'test_modules': [
136 'java_cpp_enum_tests', 136 'java_cpp_enum_tests',
137 'java_google_api_keys_tests', 137 'java_google_api_keys_tests',
138 ] 138 ]
139 }, 139 },
140 } 140 }
141 141
142 LOCAL_MACHINE_TESTS = ['junit', 'python'] 142 LOCAL_MACHINE_TESTS = ['junit', 'python']
143 VALID_ENVIRONMENTS = ['local', 'remote_device'] 143 VALID_ENVIRONMENTS = ['local']
144 VALID_TEST_TYPES = ['gtest', 'instrumentation', 'junit', 'linker', 'monkey', 144 VALID_TEST_TYPES = ['gtest', 'instrumentation', 'junit', 'linker', 'monkey',
145 'perf', 'python', 'uirobot'] 145 'perf', 'python']
146 VALID_DEVICE_TYPES = ['Android', 'iOS'] 146 VALID_DEVICE_TYPES = ['Android', 'iOS']
147 147
148 148
149 def GetBuildType(): 149 def GetBuildType():
150 try: 150 try:
151 return os.environ['BUILDTYPE'] 151 return os.environ['BUILDTYPE']
152 except KeyError: 152 except KeyError:
153 raise EnvironmentError( 153 raise EnvironmentError(
154 'The BUILDTYPE environment variable has not been set') 154 'The BUILDTYPE environment variable has not been set')
155 155
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 # remove this. 216 # remove this.
217 def GetAdbPath(): 217 def GetAdbPath():
218 from devil.android.sdk import adb_wrapper 218 from devil.android.sdk import adb_wrapper
219 return adb_wrapper.AdbWrapper.GetAdbPath() 219 return adb_wrapper.AdbWrapper.GetAdbPath()
220 220
221 221
222 # Exit codes 222 # Exit codes
223 ERROR_EXIT_CODE = exit_codes.ERROR 223 ERROR_EXIT_CODE = exit_codes.ERROR
224 INFRA_EXIT_CODE = exit_codes.INFRA 224 INFRA_EXIT_CODE = exit_codes.INFRA
225 WARNING_EXIT_CODE = exit_codes.WARNING 225 WARNING_EXIT_CODE = exit_codes.WARNING
OLDNEW
« no previous file with comments | « build/android/pylib/base/test_run_factory.py ('k') | build/android/pylib/remote/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698