Skip to content
Snippets Groups Projects
Commit 5b0be161 authored by Anton Hansson's avatar Anton Hansson
Browse files

Enable api lint and check_last_api for modules

This adds checking of module api compatibility to the individual module
api rules. Until now, this checking has been done via the monolithic
metalava runs which we are aiming to get rid of.

Now is a good time to do this because we can compare them to the just
finalized version 30 API, which we have no diffs with. Baseline the
existing wifi failures that metalava fails to find in the previous API.

Bug: 144149403
Test: m checkapi
Change-Id: Id222895daa3a769c265965b052a17d5a1ca18462
parent 43708b44
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,15 @@ droidstubs {
"framework-module-stubs-defaults-publicapi",
"framework-tethering-stubs-defaults",
],
check_api: {
last_released: {
api_file: ":framework-tethering.api.public.latest",
removed_api_file: ":framework-tethering-removed.api.public.latest",
},
api_lint: {
new_since: ":framework-tethering.api.public.latest",
},
},
}
droidstubs {
......@@ -102,6 +111,15 @@ droidstubs {
"framework-module-stubs-defaults-systemapi",
"framework-tethering-stubs-defaults",
],
check_api: {
last_released: {
api_file: ":framework-tethering.api.system.latest",
removed_api_file: ":framework-tethering-removed.api.system.latest",
},
api_lint: {
new_since: ":framework-tethering.api.system.latest",
},
},
}
droidstubs {
......@@ -110,6 +128,15 @@ droidstubs {
"framework-module-api-defaults-module_libs_api",
"framework-tethering-stubs-defaults",
],
check_api: {
last_released: {
api_file: ":framework-tethering.api.module-lib.latest",
removed_api_file: ":framework-tethering-removed.api.module-lib.latest",
},
api_lint: {
new_since: ":framework-tethering.api.module-lib.latest",
},
},
}
droidstubs {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment