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

Commit c9dc5ed9 authored by Jared Duke's avatar Jared Duke
Browse files

Export PluginCoreLib proguard flags

Ensure runtime annotations are kept for any downstream clients
that reference the plugin library dynamically. In practice this
should be a no-op for such clients that have had to manually bundle
those proguard rules.

Bug: 212623640
Test: presubmit
Flag: NA
Change-Id: If9f0cd8955b4d179338ec8d76aaeb7d6ffb2c511
parent 28938cfa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ java_library {
    srcs: ["src/**/*.java"],
    optimize: {
        proguard_flags_files: ["proguard.flags"],
        // Ensure downstream clients that reference this as a shared lib
        // inherit the appropriate flags to preserve annotations.
        export_proguard_flags_files: true,
    },

    // Enforce that the library is built against java 8 so that there are