diff options
author | Anton Hansson <hansson@google.com> | 2020-10-29 18:56:10 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2020-10-29 18:56:10 +0000 |
commit | 43cc8bf55cf75bbf3158d78579d9ac82f57e6ea9 (patch) | |
tree | 59b5ea9dec4a8c90640550b2ddb79e199041e564 | |
parent | ec1966e3720aa23fdb1422149976a67ded42fa94 (diff) |
Remove the module-lib-api target
This target existed just to track the "full" module lib API surface,
until the individual pieces had the same standards. However, now:
- the full current.txt file is available as a build target
- all the individual .txt files are API reviewed, checked against
last api, linted, and changes result on API council bug updates
The .txt files will be removed in a separate CL.
Bug: 171029603
Test: m checkapi
Change-Id: Ib8ec547871045f77fb73aa82f192b5a7767d0c33
-rw-r--r-- | StubLibraries.bp | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp index e0c302239464..3d28bf812ec6 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -253,38 +253,11 @@ droidstubs { } ///////////////////////////////////////////////////////////////////// -// Following droidstubs modules are for extra APIs for modules, +// Following droidstub module for extra APIs for modules, // namely @SystemApi(client=MODULE_LIBRARIES) APIs. ///////////////////////////////////////////////////////////////////// droidstubs { - name: "module-lib-api", - defaults: ["metalava-full-api-stubs-default"], - arg_files: ["core/res/AndroidManifest.xml"], - args: metalava_framework_docs_args + module_libs, - - // Do not generate stubs as they are not needed - generate_stubs: false, - - check_api: { - current: { - api_file: "api/module-lib-current.txt", - removed_api_file: "api/module-lib-removed.txt", - }, - last_released: { - api_file: ":android.api.module-lib.latest", - removed_api_file: ":removed.api.module-lib.latest", - baseline_file: ":module-lib-api-incompatibilities-with-last-released" - }, - api_lint: { - enabled: true, - new_since: ":android.api.module-lib.latest", - baseline_file: "api/module-lib-lint-baseline.txt", - }, - }, -} - -droidstubs { name: "module-lib-api-stubs-docs-non-updatable", defaults: ["metalava-non-updatable-api-stubs-default"], arg_files: ["core/res/AndroidManifest.xml"], |