Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51861e70 authored by Anton Hansson's avatar Anton Hansson
Browse files

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
parent 5815e26b
Loading
Loading
Loading
Loading
+1 −29
Original line number Diff line number Diff line
@@ -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"],