4. Have your change reviewed and merged. Once your change is merged,
obtain a build number from a successful build that includes your change.
5. Run `prebuilts/cmdline-tools/update-android-global-lint-checker.sh
<build_number>`. The script will create a commit that you can upload for
approval to the `prebuilts/cmdline-tools` subproject.
-*Tip*: Find a green build from [targets=aosp_arm64-trunk_staging-userdebug](https://android-build.corp.google.com/build_explorer/branch/git_main/?gridSize=20&targets=aosp_arm64-trunk_staging-userdebug&selectionType=MOST_RECENT_N_BUILDS&numBuilds=20&buildType=default) to match the update script.
6. Done! Your lint check should be applied in lint report builds across the
entire tree!
# [Android Framework Lint Checker](./framework)
Checks written here are going to be executed for modules that opt in to those (e.g. any
@@ -58,11 +28,12 @@ java_library_static {
```
2. Run the following command to verify that the report is being correctly built:
```
m out/soong/.intermediates/frameworks/base/services/autofill/services.autofill/android_common/lint/lint-report.html
m services-autofill-lint
```
Replace `services/autofill/` with the appropriate directory path and replace
`services.autofill` with your module's name. After you run the command, the
lint report can be found in the same path, i.e. `out/../lint-report.html`.
Replace `services-autofil` with your module's name. After you run the command, the
lint report can be found in the soong intermediates path corresponding to your