diff options
| author | 2020-07-16 17:32:17 -0700 | |
|---|---|---|
| committer | 2020-07-20 11:51:12 -0700 | |
| commit | 5e218dbc1b8826a1fdd000e9407ae74505dc639f (patch) | |
| tree | 2f258d54bab01128b866efa6ca79d3048ddb9507 /python/tests/py-cmd_test.py | |
| parent | 1d11c871ae38a23212ced24ff23b8a5117433fe7 (diff) | |
Add environment variables to control lint checks
Set ANDROID_LINT_CHECK to a comma-separated list of lint issues
that should be checked instead of the defaults. This will disable
all lint checks and enable only the given list.
Set ANDROID_LINT_CHECK_EXTRA_MODULES to a list of modules that provide
lint checks that should added to all modules when ANDROID_LINT_CHECK
is specified.
Bug: 153485543
Test: m ANDROID_LINT_CHECK=JavaKotlinApiUsedByModule ANDROID_LINT_CHECK_EXTRA_MODULES=JavaKotlinApiFinder TARGET_BUILD_APPS=Gallery2 lint-check dist
Change-Id: Ifdf9bf972b8550104315b0f5e98b34ad699dcb67
Merged-In: Ifdf9bf972b8550104315b0f5e98b34ad699dcb67
(cherry picked from commit 988dfcc06709cd7c88df22aa9ca166f9fb1f9790)
Diffstat (limited to 'python/tests/py-cmd_test.py')
0 files changed, 0 insertions, 0 deletions