summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2023-12-20 11:57:01 -0800
committerCole Faust <colefaust@google.com>2023-12-20 11:57:01 -0800
commit766738ac1f10dd4f7cac8531dfa4c5f045f1cd30 (patch)
tree35a54449990f61d750a2f99844d01116d8d66abc
parent09af5b2c99de64a2afb3b7454d7ac8ad186ed1e8 (diff)
downloadatv-766738ac1f10dd4f7cac8531dfa4c5f045f1cd30.tar.gz
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: I606d8cdfeb01c1ff42141ae37bfd95f20c558211
-rw-r--r--libraries/BluetoothServices/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/BluetoothServices/Android.bp b/libraries/BluetoothServices/Android.bp
index 0d9ffc1..d4da217 100644
--- a/libraries/BluetoothServices/Android.bp
+++ b/libraries/BluetoothServices/Android.bp
@@ -23,4 +23,7 @@ android_library {
resource_dirs: ["res"],
manifest: "AndroidManifest.xml",
sdk_version: "system_current",
+ lint: {
+ baseline_filename: "lint-baseline.xml",
+ },
}