libmedia2_jni: link to libcgrouprc

libcgrouprc is an LLNDK library used by libprocessgroup.
libprocessgroup is linked statically, so the dependency needs
to be explicitly stated in libmedia2_jni.

Test: boots (sanity)
Bug: 123664216
Change-Id: Ieebba36417d1f83a5946f927043f15dc8abc188a
Merged-In: Ieebba36417d1f83a5946f927043f15dc8abc188a
This commit is contained in:
Yifan Hong
2019-03-28 15:54:10 -07:00
parent 96cf453355
commit b30f53ee69

View File

@@ -151,6 +151,8 @@ cc_library_shared {
"libutils", // Have to use shared lib to make libandroid_runtime behave correctly.
// Otherwise, AndroidRuntime::getJNIEnv() will return NULL.
"libcgrouprc", // LL-NDK
],
header_libs: ["libhardware_headers"],