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

Unified Diff: build/config/android/rules.gni

Issue 1489733002: Run findbugs on instrumentation APKs targets which include Java source files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 63d0b184e09f65246500b17044544d1d0079b083..704ca6dbbd57014feb4941ff4290f9f8b891a88b 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -1885,7 +1885,10 @@ template("instrumentation_test_apk") {
"//tools/android/forwarder2",
"//tools/android/md5sum",
]
- run_findbugs = false
+
+ run_findbugs =
+ defined(invoker.run_findbugs) && invoker.run_findbugs &&
+ (defined(invoker.java_files) || defined(invoker.DEPRECATED_java_in_dir))
}
group(target_name) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698