Android: Prefer invoker's lint suppressions file
Since android_lint is only run for android_apk and android_app_bundle targets, there is no longer a need for a project-wide override. Targets that specify their own lint suppressions file can specify it as a gn variable when they use the android_apk or android_app_bundle templates. Also support embedders passing their own lint_suppressions_dep if their lint suppressions file is generated. See: https://crrev.com/c/2232580 Passed through the necessary args so that embedders using chrome_public_apk can easily pass in lint_suppressions_* variables. Bug: 1082743 Change-Id: Idcb2f40d1fa529398a6f942e1c0687608c5dffb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2235463 Commit-Queue: Peter Wen <wnwen@chromium.org> Auto-Submit: Peter Wen <wnwen@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#776109}
Showing
Please register or sign in to comment