Add some warnings and notes about framework's jarjar rules
These rules are explicitly recommended to be depended on by other
libraries in the bootclasspath, that may depend on the framework's
copy of the hidl library.
Bug: 186804505
Test: presubmit
Merged-In: I09766423782d9bb9408f3d14169d7e5d8f1b5823
Change-Id: I09766423782d9bb9408f3d14169d7e5d8f1b5823
(cherry picked from commit 524bf249777f5e71d22facb9ddd86d58abab651a)
diff --git a/Android.bp b/Android.bp
index 6a1a8e1..05c852ee 100644
--- a/Android.bp
+++ b/Android.bp
@@ -254,9 +254,12 @@
installable: false,
}
+// NOTE: This filegroup is exposed for vendor libraries to depend on and is referenced in
+// documentation. Do not remove without consulting the treble/hidl teams.
filegroup {
name: "framework-jarjar-rules",
srcs: ["framework-jarjar-rules.txt"],
+ visibility: ["//visibility:public"],
}
java_library {