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

Commit f2772590 authored by Paul Duffin's avatar Paul Duffin Committed by Gerrit Code Review
Browse files

Merge "Move global hidden API flags generation to platform_bootclasspath"

parents 304329d2 81af1f50
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -308,6 +308,9 @@ genrule {


genrule {
genrule {
    name: "combined-removed-dex",
    name: "combined-removed-dex",
    visibility: [
        "//frameworks/base/boot",
    ],
    srcs: [
    srcs: [
        ":frameworks-base-api-removed.txt",
        ":frameworks-base-api-removed.txt",
        ":frameworks-base-api-system-removed.txt",
        ":frameworks-base-api-system-removed.txt",
+28 −0
Original line number Original line Diff line number Diff line
@@ -43,4 +43,32 @@ package {
// done correctly.
// done correctly.
platform_bootclasspath {
platform_bootclasspath {
    name: "platform-bootclasspath",
    name: "platform-bootclasspath",

    // Additional information needed by hidden api processing.
    hidden_api: {
        unsupported: [
            "hiddenapi/hiddenapi-unsupported.txt",
        ],
        removed: [
            ":combined-removed-dex",
        ],
        max_target_r_low_priority: [
            "hiddenapi/hiddenapi-max-target-r-loprio.txt",
        ],
        max_target_q: [
            "hiddenapi/hiddenapi-max-target-q.txt",
        ],
        max_target_p: [
            "hiddenapi/hiddenapi-max-target-p.txt",
        ],
        max_target_o_low_priority: [
            "hiddenapi/hiddenapi-max-target-o.txt",
        ],
        blocked: [
            "hiddenapi/hiddenapi-force-blocked.txt",
        ],
        unsupported_packages: [
            "hiddenapi/hiddenapi-unsupported-packages.txt",
        ],
    },
}
}