summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-01-10 12:30:38 -0800
committer Cole Faust <colefaust@google.com> 2024-01-10 12:30:38 -0800
commit8e93251ab0b1ac78acf3ea5ea0892ad59d3d4156 (patch)
tree5e42aed6d67b72f50d36ae90f7cd045d0b64a457 /Android.bp
parent806bb92983552aaab61a79d263506d2e0f23b480 (diff)
Baseline NewApi issues
NewApi is a lint check that you don't call framework methods that were introduced in versions later than your min_sdk_version. We want to make this an error, so we're baselineing all existing issues. This cl was generated automatically, by taking all the NewApi issues from the reference baselines, and all the non-NewApi issues from the existing checked in baselines. Bug: 268261262 Test: Presubmits Change-Id: I021e1b9e8f6d1f73748721d6dffced30902cfcd7
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 7a8181da6..563c7e9c0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -85,7 +85,7 @@ java_library {
],
lint: {
strict_updatability_linting: true,
- baseline_filename: "lint-baseline.xml",
+
},
}
@@ -120,7 +120,7 @@ android_library {
min_sdk_version: "29",
lint: {
strict_updatability_linting: true,
- baseline_filename: "lint-baseline.xml",
+
},
}
@@ -153,7 +153,7 @@ android_library {
min_sdk_version: "29",
lint: {
strict_updatability_linting: true,
- baseline_filename: "lint-baseline.xml",
+
},
}
@@ -184,5 +184,6 @@ android_app {
lint: {
strict_updatability_linting: true,
baseline_filename: "lint-baseline.xml",
+
},
}