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

Commit 0a111c12 authored by Anton Hansson's avatar Anton Hansson Committed by Automerger Merge Worker
Browse files

Merge "Remove the module-lib-api target" am: 36bd16e5 am: 0a354a95

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1480536

Change-Id: I28c6d399d82936bdedee7a0ccaef009a40fd0b13
parents b8f88415 0a354a95
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"],