Index: build/android/findbugs_filter/findbugs_exclude.xml |
diff --git a/build/android/findbugs_filter/findbugs_exclude.xml b/build/android/findbugs_filter/findbugs_exclude.xml |
index e0e5f2afca7eee03f667c18f0e80801c485b6e60..49fa8118a215af08114b2a07d70ef61d0dda864d 100644 |
--- a/build/android/findbugs_filter/findbugs_exclude.xml |
+++ b/build/android/findbugs_filter/findbugs_exclude.xml |
@@ -10,6 +10,13 @@ Documentation: http://findbugs.sourceforge.net/manual/filter.html |
In particular, ~ at the start of a string means it's a regex. |
--> |
<FindBugsFilter> |
+ <!-- Skip the generated resource classes (including nested classes). --> |
+ <Match> |
+ <Class name="~org\.chromium\..*\.R(\$\w+)?" /> |
+ </Match> |
+ <Match> |
+ <Class name="~org\.chromium\..*\.Manifest(\$\w+)?" /> |
+ </Match> |
<!-- Ignore "reliance on default String encoding" warnings, as we're not multi-platform --> |
<Bug pattern="DM_DEFAULT_ENCODING" /> |
</FindBugsFilter> |