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

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: Rebase 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
« no previous file with comments | « 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 'unsigned_apk_path': '<(unsigned_apk_path)', 216 'unsigned_apk_path': '<(unsigned_apk_path)',
217 'unsigned_abi_split_apk_path': '<(unsigned_abi_split_apk_path)', 217 'unsigned_abi_split_apk_path': '<(unsigned_abi_split_apk_path)',
218 'create_abi_split%': '<(create_abi_split)', 218 'create_abi_split%': '<(create_abi_split)',
219 'managed_input_apk_path': '<(managed_input_apk_path)', 219 'managed_input_apk_path': '<(managed_input_apk_path)',
220 'libchromium_android_linker': 'libchromium_android_linker.>(android_product_ extension)', 220 'libchromium_android_linker': 'libchromium_android_linker.>(android_product_ extension)',
221 'extra_native_libs': [], 221 'extra_native_libs': [],
222 'native_lib_placeholder_stamp': '<(apk_package_native_libs_dir)/<(android_ap p_abi)/native_lib_placeholder.stamp', 222 'native_lib_placeholder_stamp': '<(apk_package_native_libs_dir)/<(android_ap p_abi)/native_lib_placeholder.stamp',
223 'native_lib_placeholders': [], 223 'native_lib_placeholders': [],
224 'main_apk_name': '<(apk_name)', 224 'main_apk_name': '<(apk_name)',
225 'dex_path': '<(dex_path)', 225 'dex_path': '<(dex_path)',
226 'enable_errorprone%': '0', 226 'conditions': [
227 ['chromium_code == 0', {
228 'enable_errorprone': 0,
229 }],
230 ],
231 'enable_errorprone%': 0,
227 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone', 232 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
228 }, 233 },
229 # Pass the jar path to the apk's "fake" jar target. This would be better as 234 # Pass the jar path to the apk's "fake" jar target. This would be better as
230 # direct_dependent_settings, but a variable set by a direct_dependent_settings 235 # direct_dependent_settings, but a variable set by a direct_dependent_settings
231 # cannot be lifted in a dependent to all_dependent_settings. 236 # cannot be lifted in a dependent to all_dependent_settings.
232 'all_dependent_settings': { 237 'all_dependent_settings': {
233 'conditions': [ 238 'conditions': [
234 ['proguard_enabled == "true"', { 239 ['proguard_enabled == "true"', {
235 'variables': { 240 'variables': {
236 'proguard_enabled': 'true', 241 'proguard_enabled': 'true',
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 'native_libs_dir': '<(apk_package_native_libs_dir)', 1115 'native_libs_dir': '<(apk_package_native_libs_dir)',
1111 }, { 1116 }, {
1112 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res', 1117 'native_libs_dir': '<(DEPTH)/build/android/ant/empty/res',
1113 }], 1118 }],
1114 ], 1119 ],
1115 }, 1120 },
1116 'includes': ['android/apkbuilder_action.gypi'], 1121 'includes': ['android/apkbuilder_action.gypi'],
1117 }, 1122 },
1118 ], 1123 ],
1119 } 1124 }
OLDNEW
« no previous file with comments | « build/java.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698