summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-11-13 09:55:29 +0000
committerAnton Hansson <hansson@google.com>2020-11-13 11:31:36 +0000
commit51861e70e58aa863e459762b22dca00ff7fda23d (patch)
treeb615856a041daba3fcb7c61459b67c34b3ca0d9e /StubLibraries.bp
parent5815e26b3a3c7b0660da1529b53e9dd84787fa77 (diff)
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
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp30
1 files changed, 1 insertions, 29 deletions
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"],