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

Side by Side Diff: build/config/android/internal_rules.gni

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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 6
7 assert(is_android) 7 assert(is_android)
8 8
9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir)
10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir)
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "--depfile", 109 "--depfile",
110 rebase_path(depfile, root_build_dir), 110 rebase_path(depfile, root_build_dir),
111 "--exclude", 111 "--exclude",
112 rebase_path(exclusions_file, root_build_dir), 112 rebase_path(exclusions_file, root_build_dir),
113 "--auxclasspath-gyp", 113 "--auxclasspath-gyp",
114 "@FileArg($rebased_build_config:javac:classpath)", 114 "@FileArg($rebased_build_config:javac:classpath)",
115 "--output-file", 115 "--output-file",
116 rebase_path(result_path, root_build_dir), 116 rebase_path(result_path, root_build_dir),
117 rebase_path(jar_path, root_build_dir), 117 rebase_path(jar_path, root_build_dir),
118 ] 118 ]
119
120 if (findbugs_verbose) {
121 args += [ "-vv" ]
122 }
119 } 123 }
120 } 124 }
121 125
122 template("dex") { 126 template("dex") {
123 set_sources_assignment_filter([]) 127 set_sources_assignment_filter([])
124 if (defined(invoker.testonly)) { 128 if (defined(invoker.testonly)) {
125 testonly = invoker.testonly 129 testonly = invoker.testonly
126 } 130 }
127 131
128 assert(defined(invoker.output)) 132 assert(defined(invoker.output))
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 jar_path = _jar_path 1256 jar_path = _jar_path
1253 java_files = _java_files 1257 java_files = _java_files
1254 deps = [ 1258 deps = [
1255 ":$_compile_java_target", 1259 ":$_compile_java_target",
1256 ] 1260 ]
1257 if (defined(invoker.deps)) { 1261 if (defined(invoker.deps)) {
1258 deps += invoker.deps 1262 deps += invoker.deps
1259 } 1263 }
1260 } 1264 }
1261 1265
1266 if (defined(invoker.run_findbugs)) {
1267 run_findbugs = invoker.run_findbugs
1268 }
1262 if (run_findbugs) { 1269 if (run_findbugs) {
1263 _final_datadeps += [ ":${_template_name}__findbugs" ] 1270 _final_datadeps += [ ":${_template_name}__findbugs" ]
1264 findbugs("${_template_name}__findbugs") { 1271 findbugs("${_template_name}__findbugs") {
1265 build_config = _build_config 1272 build_config = _build_config
1266 jar_path = _jar_path 1273 jar_path = _jar_path
1267 deps = build_config_deps 1274 deps = [
1275 ":$_compile_java_target",
1276 ]
1268 } 1277 }
1269 } 1278 }
1270 } 1279 }
1271 1280
1272 _final_deps += [ ":${_template_name}__dex" ] 1281 _final_deps += [ ":${_template_name}__dex" ]
1273 dex("${_template_name}__dex") { 1282 dex("${_template_name}__dex") {
1274 sources = [ 1283 sources = [
1275 _jar_path, 1284 _jar_path,
1276 ] 1285 ]
1277 output = _dex_path 1286 output = _dex_path
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 ] 1590 ]
1582 args = [ 1591 args = [
1583 "--depfile", 1592 "--depfile",
1584 rebase_path(depfile, root_build_dir), 1593 rebase_path(depfile, root_build_dir),
1585 "--script-output-path", 1594 "--script-output-path",
1586 rebase_path(generated_script, root_build_dir), 1595 rebase_path(generated_script, root_build_dir),
1587 ] 1596 ]
1588 args += test_runner_args 1597 args += test_runner_args
1589 } 1598 }
1590 } 1599 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698