From 43cc8bf55cf75bbf3158d78579d9ac82f57e6ea9 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Thu, 29 Oct 2020 18:56:10 +0000 Subject: 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 --- StubLibraries.bp | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'StubLibraries.bp') diff --git a/StubLibraries.bp b/StubLibraries.bp index e0c302239464..3d28bf812ec6 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -253,37 +253,10 @@ 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"], -- cgit v1.2.3