+4
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The --exitcode flag tells lint to exit with an error code if any incidents at ERROR level or above are found. Unfortunately, that means an invocation of lint against the entire tree will fail with whichever module fails first. This covers up any other failures and makes updating lint in AOSP more cumbersome. This change allows one to set `ANDROID_LINT_SUPPRESS_EXIT_CODE=true` to modify this behavior and collect full lint results even if there are errors in some modules. Bug: 274780888 Test: Tested manually by changing code to trigger lint errors, and settig/unsetting this flag. Change-Id: I71ab89c9bffafe6eb83171102c2c253171450266