From 51861e70e58aa863e459762b22dca00ff7fda23d Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 13 Nov 2020 09:55:29 +0000 Subject: Remove api-stubs-docs Remove the build rule for updating api/current.txt and other files, which makes it easier to remove the txt files themselves. Bug: 171029603 Test: m nothing Change-Id: I987fd9f6075d0f7c6817f16bf7282c6239afb7db --- StubLibraries.bp | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'StubLibraries.bp') diff --git a/StubLibraries.bp b/StubLibraries.bp index aa39824e8614..cb36e639545b 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -110,37 +110,9 @@ stubs_defaults { } ///////////////////////////////////////////////////////////////////// -// *-api-stubs-docs modules providing source files for the stub libraries +// These modules provide source files for the stub libraries ///////////////////////////////////////////////////////////////////// -// api-stubs-docs, system-api-stubs-docs, and test-api-stubs-docs have APIs -// from the non-updatable part of the platform as well as from the updatable -// modules -droidstubs { - name: "api-stubs-docs", - defaults: ["metalava-full-api-stubs-default"], - arg_files: [ - "core/res/AndroidManifest.xml", - ], - args: metalava_framework_docs_args, - check_api: { - current: { - api_file: "api/current.txt", - removed_api_file: "api/removed.txt", - }, - last_released: { - api_file: ":android.api.public.latest", - removed_api_file: ":removed.api.public.latest", - baseline_file: ":public-api-incompatibilities-with-last-released", - }, - api_lint: { - enabled: true, - new_since: ":android.api.public.latest", - baseline_file: "api/lint-baseline.txt", - }, - }, -} - droidstubs { name: "api-stubs-docs-non-updatable", defaults: ["metalava-non-updatable-api-stubs-default"], -- cgit v1.2.3