Document ANDROID_LINT_CHECK

Test: n/a
Change-Id: Ief902e6ae28e4ebd67aba52d6b093a0d22996306
This commit is contained in:
Thiébaud Weksteen
2022-01-31 14:57:45 +11:00
parent 5f73621d01
commit b7339b1a84

View File

@@ -40,6 +40,9 @@ m out/soong/.intermediates/frameworks/base/services/autofill/services.autofill/a
- If you want to build lint reports for more than 1 module and they include a common module in their
`defaults` field, e.g. `platform_service_defaults`, you can add the `lint` property to that common
module instead of adding it in every module.
- If you want to run a single lint type, use the `ANDROID_LINT_CHECK`
environment variable with the id of the lint. For example:
`ANDROID_LINT_CHECK=UnusedTokenOfOriginalCallingIdentity m out/[...]/lint-report.html`
## Create or update a baseline