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

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

Issue 2438913004: Revert of [Reland] Upgrade to new Android SDK. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « build/android/lint/suppressions.xml ('k') | build/config/android/config.gni » ('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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ADB_KEYS_FILE = '/data/misc/adb/adb_keys' 89 ADB_KEYS_FILE = '/data/misc/adb/adb_keys'
90 90
91 PERF_OUTPUT_DIR = os.path.join(DIR_SOURCE_ROOT, 'out', 'step_results') 91 PERF_OUTPUT_DIR = os.path.join(DIR_SOURCE_ROOT, 'out', 'step_results')
92 # The directory on the device where perf test output gets saved to. 92 # The directory on the device where perf test output gets saved to.
93 DEVICE_PERF_OUTPUT_DIR = ( 93 DEVICE_PERF_OUTPUT_DIR = (
94 '/data/data/' + PACKAGE_INFO['chrome'].package + '/files') 94 '/data/data/' + PACKAGE_INFO['chrome'].package + '/files')
95 95
96 SCREENSHOTS_DIR = os.path.join(DIR_SOURCE_ROOT, 'out_screenshots') 96 SCREENSHOTS_DIR = os.path.join(DIR_SOURCE_ROOT, 'out_screenshots')
97 97
98 ANDROID_SDK_VERSION = version_codes.MARSHMALLOW 98 ANDROID_SDK_VERSION = version_codes.MARSHMALLOW
99 ANDROID_SDK_BUILD_TOOLS_VERSION = '24.0.2' 99 ANDROID_SDK_BUILD_TOOLS_VERSION = '23.0.1'
100 ANDROID_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 100 ANDROID_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT,
101 'third_party', 'android_tools', 'sdk') 101 'third_party', 'android_tools', 'sdk')
102 ANDROID_SDK_TOOLS = os.path.join(ANDROID_SDK_ROOT, 102 ANDROID_SDK_TOOLS = os.path.join(ANDROID_SDK_ROOT,
103 'build-tools', ANDROID_SDK_BUILD_TOOLS_VERSION) 103 'build-tools', ANDROID_SDK_BUILD_TOOLS_VERSION)
104 ANDROID_NDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 104 ANDROID_NDK_ROOT = os.path.join(DIR_SOURCE_ROOT,
105 'third_party', 'android_tools', 'ndk') 105 'third_party', 'android_tools', 'ndk')
106 106
107 PROGUARD_SCRIPT_PATH = os.path.join( 107 PROGUARD_SCRIPT_PATH = os.path.join(
108 ANDROID_SDK_ROOT, 'tools', 'proguard', 'bin', 'proguard.sh') 108 ANDROID_SDK_ROOT, 'tools', 'proguard', 'bin', 'proguard.sh')
109 109
(...skipping 106 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/lint/suppressions.xml ('k') | build/config/android/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698