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

Commit 14e018a2 authored by Paul Duffin's avatar Paul Duffin Committed by android-build-merger
Browse files

Merge "Allow the unsupportedappusage-annotation to be used for device...

Merge "Allow the unsupportedappusage-annotation to be used for device variants" am: a1df2cb0 am: e6970c06 am: 2a1d1510
am: a477f1ba

Change-Id: Ibc7b687b904092af051f25f89ff76bcf820cbdc8
parents ad82f039 a477f1ba
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -843,15 +843,22 @@ java_library {
    plugins: ["unsupportedappusage-annotation-processor"],
}

// A host library including just UnsupportedAppUsage.java so that the annotation
// processor can also use this annotation.
java_library_host {
// A library including just UnsupportedAppUsage.java classes.
//
// Provided for target so that libraries can use it without depending on
// the whole of framework or the core platform API.
//
// Built for host so that the annotation processor can also use this annotation.
java_library {
    name: "unsupportedappusage-annotation",
    host_supported: true,
    srcs: [
        "core/java/android/annotation/IntDef.java",
        "core/java/android/annotation/UnsupportedAppUsage.java",
        ":unsupportedappusage_annotation_files",
    ],

    sdk_version: "core_current",
}

// A temporary build target that is conditionally included on the bootclasspath if