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

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

Issue 1411913005: Make Google API keys available for the Java codebase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/java_google_api_keys.gyp ('k') | chrome/android/BUILD.gn » ('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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 'devil.android.md5sum_test', 187 'devil.android.md5sum_test',
188 'devil.utils.cmd_helper_test', 188 'devil.utils.cmd_helper_test',
189 'pylib.results.json_results_test', 189 'pylib.results.json_results_test',
190 'pylib.utils.proguard_test', 190 'pylib.utils.proguard_test',
191 ] 191 ]
192 }, 192 },
193 'gyp_py_unittests': { 193 'gyp_py_unittests': {
194 'path': os.path.join(DIR_SOURCE_ROOT, 'build', 'android', 'gyp'), 194 'path': os.path.join(DIR_SOURCE_ROOT, 'build', 'android', 'gyp'),
195 'test_modules': [ 195 'test_modules': [
196 'java_cpp_enum_tests', 196 'java_cpp_enum_tests',
197 'java_google_api_keys_tests',
197 ] 198 ]
198 }, 199 },
199 } 200 }
200 201
201 LOCAL_MACHINE_TESTS = ['junit', 'python'] 202 LOCAL_MACHINE_TESTS = ['junit', 'python']
202 VALID_ENVIRONMENTS = ['local', 'remote_device'] 203 VALID_ENVIRONMENTS = ['local', 'remote_device']
203 VALID_TEST_TYPES = ['gtest', 'instrumentation', 'junit', 'linker', 'monkey', 204 VALID_TEST_TYPES = ['gtest', 'instrumentation', 'junit', 'linker', 'monkey',
204 'perf', 'python', 'uirobot'] 205 'perf', 'python', 'uirobot']
205 VALID_DEVICE_TYPES = ['Android', 'iOS'] 206 VALID_DEVICE_TYPES = ['Android', 'iOS']
206 207
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull) 276 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull)
276 return 'adb' 277 return 'adb'
277 except OSError: 278 except OSError:
278 logging.debug('No adb found in $PATH, fallback to checked in binary.') 279 logging.debug('No adb found in $PATH, fallback to checked in binary.')
279 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb') 280 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb')
280 281
281 # Exit codes 282 # Exit codes
282 ERROR_EXIT_CODE = 1 283 ERROR_EXIT_CODE = 1
283 INFRA_EXIT_CODE = 87 284 INFRA_EXIT_CODE = 87
284 WARNING_EXIT_CODE = 88 285 WARNING_EXIT_CODE = 88
OLDNEW
« no previous file with comments | « build/android/java_google_api_keys.gyp ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698