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

Commit 43cc8bf5 authored by Anton Hansson's avatar Anton Hansson
Browse files

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