summaryrefslogtreecommitdiff
path: root/soong/error_prone.go
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-01-19 14:54:34 -0800
committerAndreas Gampe <agampe@google.com>2018-01-19 14:57:09 -0800
commitc929ab0e9702f9da5b0878837b50441c8e763a52 (patch)
tree19fad550213d76144a7b6647d5b69858bfe26e09 /soong/error_prone.go
parent37992b5b1c4e9b1ac72ad34f9e3898ca0cbe7a6b (diff)
downloaderror_prone-c929ab0e9702f9da5b0878837b50441c8e763a52.tar.gz
Errorprone: Increase warning limit
We're using ErrorsAsWarnings, so all logging is as warnings. So increase the warning limit to the soong-default error limit. Bug: 72076216 Test: m javac-check RUN_ERROR_PRONE=true Change-Id: I6eba22e10caccd0b0d9d7b14a814c8b199760cca
Diffstat (limited to 'soong/error_prone.go')
-rw-r--r--soong/error_prone.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go
index cb857c7..09cbee9 100644
--- a/soong/error_prone.go
+++ b/soong/error_prone.go
@@ -94,5 +94,7 @@ func init() {
"-XDuseGraphInference=true",
"-XDandroidCompatible=true",
"-XepAllErrorsAsWarnings",
+ "-Xmaxwarns 9999999", // As we emit errors as warnings,
+ // increase the warning limit.
}, " ")
}