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

Commit 24202ef1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Disable compatibility check for framework-doc*-stubs" into main

parents 554c3492 0ba61ee3
Loading
Loading
Loading
Loading
+8 −14
Original line number Diff line number Diff line
@@ -130,10 +130,6 @@ droidstubs {
droidstubs {
    name: "framework-doc-stubs",
    defaults: ["android-non-updatable-doc-stubs-defaults"],
    flags: [
        // Ignore any compatibility errors, see check_api.last_released below for more information.
        "--hide-category Compatibility",
    ],
    srcs: [":all-modules-public-stubs-source-exportable"],
    api_levels_module: "api_versions_public",
    aidl: {
@@ -143,12 +139,12 @@ droidstubs {
        ],
    },

    // Pass the previously released API to support reverting flagged APIs. Without this, reverting
    // a flagged API will cause it to be removed, even if it had previously been released. This
    // has the side effect of causing compatibility issues to be reported but they are already
    // checked elsewhere so they will be ignored, see `--hide-category Compatibility` above.
    // Use the compatibility check properties to supply the previously released API to which
    // flagged APIs can be reverted. However, the compatibility check is disabled as it is
    // not required.
    check_api: {
        last_released: {
            enabled: false,
            api_file: ":android.api.combined.public.latest",
            removed_api_file: ":android-removed.api.combined.public.latest",
        },
@@ -160,17 +156,15 @@ droidstubs {
    defaults: ["framework-doc-stubs-sources-default"],
    flags: [
        "--show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\)",
        // Ignore any compatibility errors, see check_api.last_released below for more information.
        "--hide-category Compatibility",
    ],
    api_levels_module: "api_versions_system",

    // Pass the previously released API to support reverting flagged APIs. Without this, reverting
    // a flagged API will cause it to be removed, even if it had previously been released. This
    // has the side effect of causing compatibility issues to be reported but they are already
    // checked elsewhere so they will be ignored, see `--hide-category Compatibility` above.
    // Use the compatibility check properties to supply the previously released API to which
    // flagged APIs can be reverted. However, the compatibility check is disabled as it is
    // not required.
    check_api: {
        last_released: {
            enabled: false,
            api_file: ":android.api.combined.system.latest",
            removed_api_file: ":android-removed.api.combined.system.latest",
        },