Index: build/android/gyp/javac.py |
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py |
index dafe5dff0ab9a9f767c3105641283fa30a84cdaf..83c1b164c63ca862831afe528a6d1dc7b8ad9e0d 100755 |
--- a/build/android/gyp/javac.py |
+++ b/build/android/gyp/javac.py |
@@ -55,14 +55,10 @@ def ColorJavacOutput(output): |
ERRORPRONE_OPTIONS = [ |
- '-Xepdisable:' |
- # Something in chrome_private_java makes this check crash. |
- 'com.google.errorprone.bugpatterns.ClassCanBeStatic,' |
# These crash on lots of targets. |
- 'com.google.errorprone.bugpatterns.WrongParameterPackage,' |
- 'com.google.errorprone.bugpatterns.GuiceOverridesGuiceInjectableMethod,' |
- 'com.google.errorprone.bugpatterns.GuiceOverridesJavaxInjectableMethod,' |
- 'com.google.errorprone.bugpatterns.ElementsCountedInLoop' |
+ '-Xep:ParameterPackage:OFF', |
+ '-Xep:OverridesGuiceInjectableMethod:OFF', |
+ '-Xep:OverridesJavaxInjectableMethod:OFF', |
] |
def DoJavac( |