summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2021-06-04 22:30:52 +0100
committerAnton Hansson <hansson@google.com>2021-06-05 09:03:00 +0100
commit1f44941dcbfb4dc72400af996a7d4818bd6a7077 (patch)
treece89355f01ee765c84de22bf3cad7eda0e28f222 /StubLibraries.bp
parent4f90aa5148544f3bf9edebb68e02966f69a3ae03 (diff)
Baseline SAM errors
With the finalization of SDK 31, metalava now detects certain old APIs like new APIs and runs ApiLint to them. Because we cannot change these shipped APIs, add them to baselines for now until the detection of new apis can be improved. Bug: 171506470 Bug: 190240500 Test: m checkapi Change-Id: I62e7c911977165acc53b2151e7e44bb528a0ba92
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index e82a322c294e..941a1fa033e4 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -205,6 +205,7 @@ droidstubs {
api_lint: {
enabled: true,
new_since: ":android.api.module-lib.latest",
+ baseline_file: "core/api/module-lib-lint-baseline.txt",
},
},
dists: [