[Build] Add NoAndroidLog errorprone check (disabled)
Add an errorprone plugin to detect direct usage of android.util.Log.
Use org.chromium.base.Log instead.
The check is currently disabled in errorprone.py. It will be enabled in a follow-up CL after migrating existing usages.
Testing: Manually verified the check works by temporarily enabling it and compiling a file with android.util.Log import.
Bug: 481747262
Change-Id: Id1ef69c6ff3de950fc93050ba7962f3ae04c917d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7545419
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Ziwen Lin <ziwlin@microsoft.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1580876}
NOKEYCHECK=True
GitOrigin-RevId: 9029c518fab1f6b652d1cb68064588258a8bd3f2
2 files changed