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
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user