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

Commit cf9acc6f authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

New dist target for private API stubs

Bug: 236188940
Flag: NONE
Test: m private_api_stubs dist
Change-Id: I7bfa72cd1db254a9a6d26c07a0219ce8671829f0
parent 59e8043a
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -732,6 +732,10 @@ java_library {
    system_modules: "none",
    static_libs: ["android_stubs_private_hjar"],
    dist: {
        // Add to private_api_stubs dist target for easier packaging by scripts. This module is
        // useful for creating a platform SDK, which can be packaged in ANDROID_HOME and used from
        // Gradle, allowing for development of platform apps that make use of hidden APIs.
        targets: ["private_api_stubs"],
        dir: "apistubs/android/private",
    },
}
@@ -749,7 +753,12 @@ java_genrule {
        "done && " +
        "sort -u $(genDir)/framework.aidl.merged > $(out)",
    dist: {
        targets: ["sdk"],
        targets: [
            "sdk",
            // Add to private_api_stubs dist target for easier packaging by scripts.
            // See explanation in the "android_stubs_private" module above.
            "private_api_stubs",
        ],
        dir: "apistubs/android/private",
    },
}