Commit e2801f5c authored by Peter Wen's avatar Peter Wen Committed by Commit Bot

Android: Ignore AppCompatResource lint warning

Lint does not correctly determine whether chromium targets depend on
appcompat since it uses string matching that does not match our library
name. Since this is the same for all chromium targets, ignore this lint
warning globally.

Bug: 1116130
Change-Id: I106f4dbbabd50e2e781b6152816c02ae8036f999
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373206
Auto-Submit: Peter Wen <wnwen@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801437}
parent a8722a59
...@@ -25,6 +25,7 @@ _LINT_MD_URL = 'https://chromium.googlesource.com/chromium/src/+/master/build/an ...@@ -25,6 +25,7 @@ _LINT_MD_URL = 'https://chromium.googlesource.com/chromium/src/+/master/build/an
# These checks are not useful for chromium. # These checks are not useful for chromium.
_DISABLED_ALWAYS = [ _DISABLED_ALWAYS = [
"AppCompatResource", # Lint does not correctly detect our appcompat lib.
"Assert", # R8 --force-enable-assertions is used to enable java asserts. "Assert", # R8 --force-enable-assertions is used to enable java asserts.
"LintBaseline", # Don't warn about using baseline.xml files. "LintBaseline", # Don't warn about using baseline.xml files.
"MissingApplicationIcon", # False positive for non-production targets. "MissingApplicationIcon", # False positive for non-production targets.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment