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

Side by Side Diff: build/java.gypi

Issue 1258303003: [Android] Suppress findbugs stderr output. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + reenable findbugs_verbose on GN Created 5 years, 4 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
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 Java in a consistent manner. 6 # to build Java 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_java', 10 # 'target_name': 'my-package_java',
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 '--classpath=<(android_sdk_jar) >(input_jars_paths)', 220 '--classpath=<(android_sdk_jar) >(input_jars_paths)',
221 ] 221 ]
222 }, 222 },
223 ], 223 ],
224 }], 224 }],
225 ['run_findbugs == 1', { 225 ['run_findbugs == 1', {
226 'actions': [ 226 'actions': [
227 { 227 {
228 'action_name': 'findbugs_<(_target_name)', 228 'action_name': 'findbugs_<(_target_name)',
229 'message': 'Running findbugs on <(_target_name)', 229 'message': 'Running findbugs on <(_target_name)',
230 'variables': {
231 'additional_findbugs_args': [],
232 'findbugs_verbose%': 0,
233 },
234 'conditions': [
235 ['findbugs_verbose == 1', {
236 'variables': {
237 'additional_findbugs_args+': ['-vv'],
238 },
239 }],
240 ],
230 'inputs': [ 241 'inputs': [
231 '<(DEPTH)/build/android/findbugs_diff.py', 242 '<(DEPTH)/build/android/findbugs_diff.py',
232 '<(DEPTH)/build/android/findbugs_filter/findbugs_exclude.xml', 243 '<(DEPTH)/build/android/findbugs_filter/findbugs_exclude.xml',
233 '<(DEPTH)/build/android/pylib/utils/findbugs.py', 244 '<(DEPTH)/build/android/pylib/utils/findbugs.py',
234 '>@(input_jars_paths)', 245 '>@(input_jars_paths)',
235 '<(jar_final_path)', 246 '<(jar_final_path)',
236 '<(compile_stamp)', 247 '<(compile_stamp)',
237 ], 248 ],
238 'outputs': [ 249 'outputs': [
239 '<(findbugs_stamp)', 250 '<(findbugs_stamp)',
240 ], 251 ],
241 'action': [ 252 'action': [
242 'python', '<(DEPTH)/build/android/findbugs_diff.py', 253 'python', '<(DEPTH)/build/android/findbugs_diff.py',
243 '--auxclasspath-gyp', '>(input_jars_paths)', 254 '--auxclasspath-gyp', '>(input_jars_paths)',
244 '--stamp', '<(findbugs_stamp)', 255 '--stamp', '<(findbugs_stamp)',
256 '<@(additional_findbugs_args)',
245 '<(jar_final_path)', 257 '<(jar_final_path)',
246 ], 258 ],
247 }, 259 },
248 ], 260 ],
249 }], 261 }],
250 ['enable_errorprone == 1', { 262 ['enable_errorprone == 1', {
251 'dependencies': [ 263 'dependencies': [
252 '<(DEPTH)/third_party/errorprone/errorprone.gyp:chromium_errorprone', 264 '<(DEPTH)/third_party/errorprone/errorprone.gyp:chromium_errorprone',
253 ], 265 ],
254 }], 266 }],
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 'dex_no_locals': 1, 371 'dex_no_locals': 1,
360 }], 372 }],
361 ], 373 ],
362 'dex_input_paths': [ '<(jar_final_path)' ], 374 'dex_input_paths': [ '<(jar_final_path)' ],
363 'output_path': '<(dex_path)', 375 'output_path': '<(dex_path)',
364 }, 376 },
365 'includes': [ 'android/dex_action.gypi' ], 377 'includes': [ 'android/dex_action.gypi' ],
366 }, 378 },
367 ], 379 ],
368 } 380 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698