sonyxperiadev / device-sony-common

70 stars 144 forks source link

[COMMON] [R] Include vendor variant of libavservices_minijail #789

Closed MarijnS95 closed 4 years ago

MarijnS95 commented 4 years ago

libavservices_minijail is vendor_available, meaning that a PRODUCT_PACKAGES dependency on it includes its system variant. This is not part of the vndk and hence unavailable to odm blobs, leaving:

F linker  : CANNOT LINK EXECUTABLE "/odm/bin/ims_rtp_daemon": library "libavservices_minijail.so" not found: needed by main executable

in place. Neither would that approach suffice for GSIs. Use a vendor dependency to ensure the library is included in /vendor and available to blobs.

(sidenote: Another 32-bit transitive dependency already includes this library, this merely adds the 64-bit library for ims_rtp_daemon)

Fixes: 820955e5f6df3554ced911c17fbaebd2502c1ab1