aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-12-20 11:57:05 -0800
committerCole Faust <colefaust@google.com>2023-12-20 11:57:05 -0800
commitb15dd47b2e83cf4cab931c45ceff203c0472c82c (patch)
tree0fe8f53b426eed81f68775f199f4404ab3216e90
parent64beb0a9e36f40ac9d2fbb8ea706658ab2bc7e73 (diff)
downloadlatinime-b15dd47b2e83cf4cab931c45ceff203c0472c82c.tar.gz
latinime-b15dd47b2e83cf4cab931c45ceff203c0472c82c.tar.xz
latinime-b15dd47b2e83cf4cab931c45ceff203c0472c82c.zip
List baseline_filename on modules that are implititly using it
lintable modules currently pick up files named "lint-baseline.xml" to use as the lint baseline implicitly. This is confusing because you could end up using the baseline files in more modules than intended. Lint also has a feature where it requests you remove unnecessary findings from the baseline file, so something could be necessary for one module, but unnecessary for another that accidentally picked up the baseline. We're removing the implicit detection of the baseline file, which requires all modules using it to list the baseline file explicitly. Bug: 272769514 Test: Presubmits Change-Id: Ib640f0642fbb12b96309ce518a505376dda01cb4
-rw-r--r--java/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/Android.bp b/java/Android.bp
index 613b45148..978605736 100644
--- a/java/Android.bp
+++ b/java/Android.bp
@@ -62,4 +62,7 @@ android_app {
optimize: {
proguard_flags_files: ["proguard.flags"],
},
+ lint: {
+ baseline_filename: "lint-baseline.xml",
+ },
}