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

Side by Side Diff: build/java_apk.gypi

Issue 1314493010: Never run errorprone on non-Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« build/host_jar.gypi ('K') | « build/java.gypi ('k') | no next file » | 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to build Android APKs in a consistent manner. 6 # to build Android APKs in a consistent manner.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'my_package_apk', 10 # 'target_name': 'my_package_apk',
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 'unsigned_standalone_apk_path': '<(unsigned_standalone_apk_path)', 206 'unsigned_standalone_apk_path': '<(unsigned_standalone_apk_path)',
207 'unsigned_apk_path': '<(unsigned_apk_path)', 207 'unsigned_apk_path': '<(unsigned_apk_path)',
208 'unsigned_abi_split_apk_path': '<(unsigned_abi_split_apk_path)', 208 'unsigned_abi_split_apk_path': '<(unsigned_abi_split_apk_path)',
209 'create_abi_split%': '<(create_abi_split)', 209 'create_abi_split%': '<(create_abi_split)',
210 'managed_input_apk_path': '<(managed_input_apk_path)', 210 'managed_input_apk_path': '<(managed_input_apk_path)',
211 'libchromium_android_linker': 'libchromium_android_linker.>(android_product_ extension)', 211 'libchromium_android_linker': 'libchromium_android_linker.>(android_product_ extension)',
212 'extra_native_libs': [], 212 'extra_native_libs': [],
213 'native_lib_placeholder_stamp': '<(apk_package_native_libs_dir)/<(android_ap p_abi)/native_lib_placeholder.stamp', 213 'native_lib_placeholder_stamp': '<(apk_package_native_libs_dir)/<(android_ap p_abi)/native_lib_placeholder.stamp',
214 'native_lib_placeholders': [], 214 'native_lib_placeholders': [],
215 'main_apk_name': '<(apk_name)', 215 'main_apk_name': '<(apk_name)',
216 'enable_errorprone%': '0', 216 'conditions': [
217 ['chromium_code == 0', {
218 'enable_errorprone': 0,
219 }],
220 ],
221 'enable_errorprone%': 0,
217 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone', 222 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
218 }, 223 },
219 # Pass the jar path to the apk's "fake" jar target. This would be better as 224 # Pass the jar path to the apk's "fake" jar target. This would be better as
220 # direct_dependent_settings, but a variable set by a direct_dependent_settings 225 # direct_dependent_settings, but a variable set by a direct_dependent_settings
221 # cannot be lifted in a dependent to all_dependent_settings. 226 # cannot be lifted in a dependent to all_dependent_settings.
222 'all_dependent_settings': { 227 'all_dependent_settings': {
223 'conditions': [ 228 'conditions': [
224 ['proguard_enabled == "true"', { 229 ['proguard_enabled == "true"', {
225 'variables': { 230 'variables': {
226 'proguard_enabled': 'true', 231 'proguard_enabled': 'true',
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 'native_libs_dir': '<(apk_package_native_libs_dir)', 1071 'native_libs_dir': '<(apk_package_native_libs_dir)',
1067 }, { 1072 }, {
1068 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', 1073 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res',
1069 }], 1074 }],
1070 ], 1075 ],
1071 }, 1076 },
1072 'includes': ['android/apkbuilder_action.gypi'], 1077 'includes': ['android/apkbuilder_action.gypi'],
1073 }, 1078 },
1074 ], 1079 ],
1075 } 1080 }
OLDNEW
« build/host_jar.gypi ('K') | « build/java.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698