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

Commit 19e8d465 authored by Steven Moreland's avatar Steven Moreland
Browse files

Use jarjar rules for framework.jar.

Rather than copying the rules, boot libs (e.g. telephony-common
or those added by OEMs) can just add the following to their library:
    jarjar_rules: ":framework-jarjar-rules",

This will ensure that rules can be changed in framework.jar without
breaking things downstream.

Bug: 127875362
Test: manual
Change-Id: I3dd64d418eca5302bb4aa142147040c459725e11
parent 8bf13f06
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -677,7 +677,7 @@ java_defaults {
        "ext",
    ],

    jarjar_rules: "jarjar_rules_hidl.txt",
    jarjar_rules: ":framework-jarjar-rules",

    static_libs: [
        "apex_aidl_interface-java",
@@ -722,6 +722,11 @@ java_defaults {

}

filegroup {
    name: "framework-jarjar-rules",
    srcs: ["jarjar_rules_hidl.txt"],
}

filegroup {
    name: "libincident_aidl",
    srcs: [