Add support for running Android lint on java and android modules.

Add a rule that runs Android lint on each java and android module
and produces reports in xml, html and text formats.

Bug: 153485543
Test: m out/soong/.intermediates/packages/apps/Settings/Settings-core/android_common/lint-report.html
Change-Id: I5a530975b73ba767fef45b257d4f9ec901a19fcb
This commit is contained in:
Colin Cross
2020-06-02 20:09:13 -07:00
parent ce6734e666
commit 014489c1e6
11 changed files with 710 additions and 0 deletions

View File

@@ -148,3 +148,9 @@ python_test_host {
],
test_suites: ["general-tests"],
}
python_binary_host {
name: "lint-project-xml",
main: "lint-project-xml.py",
srcs: ["lint-project-xml.py"],
}