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

Commit 037d7fb4 authored by Colin Cross's avatar Colin Cross
Browse files

Use framework-annotation-libs for hwbinder-stubs-docs

hwbinder.stubs and hwbinder-stubs-docs use SystemApi annotations.
Provide an explicit definition of SystemApi to metalava by adding
framework-annotations-libs to libs so it doesn't find it on its
own without a dependency.  Replace stub-annotations with
framework-annotations-libs in hwbinder.stubs for consistency.

Bug: 153703940
Test: m hwbinder.stubs
Change-Id: I777d68e446f8c7c1064667fd7c07b1e2ee6bfb1b
parent 55fe87b2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -434,6 +434,7 @@ droidstubs {
        "core/java/android/os/RemoteException.java",
        "core/java/android/util/AndroidException.java",
    ],
    libs: ["framework-annotations-lib"],
    installable: false,
    sdk_version: "core_platform",
    annotations_enabled: true,
@@ -447,7 +448,7 @@ droidstubs {
java_library_static {
    name: "hwbinder.stubs",
    sdk_version: "core_current",
    libs: ["stub-annotations"],
    libs: ["framework-annotations-lib"],
    srcs: [
        ":hwbinder-stubs-docs",
    ],