diff options
author | Andreas Gampe <agampe@google.com> | 2018-01-19 14:54:34 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-01-19 14:57:09 -0800 |
commit | c929ab0e9702f9da5b0878837b50441c8e763a52 (patch) | |
tree | 19fad550213d76144a7b6647d5b69858bfe26e09 /soong/error_prone.go | |
parent | 37992b5b1c4e9b1ac72ad34f9e3898ca0cbe7a6b (diff) | |
download | error_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.go | 2 |
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. }, " ") } |