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

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

Issue 1419533002: Roll android_tools deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed setImageResource(0) crash 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 | « DEPS ('k') | build/common.gypi » ('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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ADB_KEYS_FILE = '/data/misc/adb/adb_keys' 148 ADB_KEYS_FILE = '/data/misc/adb/adb_keys'
149 149
150 PERF_OUTPUT_DIR = os.path.join(DIR_SOURCE_ROOT, 'out', 'step_results') 150 PERF_OUTPUT_DIR = os.path.join(DIR_SOURCE_ROOT, 'out', 'step_results')
151 # The directory on the device where perf test output gets saved to. 151 # The directory on the device where perf test output gets saved to.
152 DEVICE_PERF_OUTPUT_DIR = ( 152 DEVICE_PERF_OUTPUT_DIR = (
153 '/data/data/' + PACKAGE_INFO['chrome'].package + '/files') 153 '/data/data/' + PACKAGE_INFO['chrome'].package + '/files')
154 154
155 SCREENSHOTS_DIR = os.path.join(DIR_SOURCE_ROOT, 'out_screenshots') 155 SCREENSHOTS_DIR = os.path.join(DIR_SOURCE_ROOT, 'out_screenshots')
156 156
157 ANDROID_SDK_VERSION = version_codes.MARSHMALLOW 157 ANDROID_SDK_VERSION = version_codes.MARSHMALLOW
158 ANDROID_SDK_BUILD_TOOLS_VERSION = '23.0.0' 158 ANDROID_SDK_BUILD_TOOLS_VERSION = '23.0.1'
159 ANDROID_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 159 ANDROID_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT,
160 'third_party', 'android_tools', 'sdk') 160 'third_party', 'android_tools', 'sdk')
161 ANDROID_SDK_TOOLS = os.path.join(ANDROID_SDK_ROOT, 161 ANDROID_SDK_TOOLS = os.path.join(ANDROID_SDK_ROOT,
162 'build-tools', ANDROID_SDK_BUILD_TOOLS_VERSION) 162 'build-tools', ANDROID_SDK_BUILD_TOOLS_VERSION)
163 ANDROID_NDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 163 ANDROID_NDK_ROOT = os.path.join(DIR_SOURCE_ROOT,
164 'third_party', 'android_tools', 'ndk') 164 'third_party', 'android_tools', 'ndk')
165 165
166 PROGUARD_SCRIPT_PATH = os.path.join( 166 PROGUARD_SCRIPT_PATH = os.path.join(
167 ANDROID_SDK_ROOT, 'tools', 'proguard', 'bin', 'proguard.sh') 167 ANDROID_SDK_ROOT, 'tools', 'proguard', 'bin', 'proguard.sh')
168 168
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull) 274 subprocess.call(['adb', 'version'], stdout=devnull, stderr=devnull)
275 return 'adb' 275 return 'adb'
276 except OSError: 276 except OSError:
277 logging.debug('No adb found in $PATH, fallback to checked in binary.') 277 logging.debug('No adb found in $PATH, fallback to checked in binary.')
278 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb') 278 return os.path.join(ANDROID_SDK_ROOT, 'platform-tools', 'adb')
279 279
280 # Exit codes 280 # Exit codes
281 ERROR_EXIT_CODE = 1 281 ERROR_EXIT_CODE = 1
282 INFRA_EXIT_CODE = 87 282 INFRA_EXIT_CODE = 87
283 WARNING_EXIT_CODE = 88 283 WARNING_EXIT_CODE = 88
OLDNEW
« no previous file with comments | « DEPS ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698