Commit Graph

4 Commits

Author SHA1 Message Date
Akash Mondal
630d6b5ca4
msm8974-common: add libashmemd_client to platform shared libraries.
E : ashmem  : Failed to dlopen() libashmemd_client.so: dlopen failed:
library "libashmemd_client.so" not found.

Change-Id: I5ea7f1686d4ad5b67ec5e37b91742f907d71075e
2020-05-29 12:14:16 -06:00
Peter Collingbourne
fc16d6b483
msm8974-common: Add /apex/com.android.runtime/${LIB} to runtime search path.
The canonical location of the HWASAN runtime, an LL-NDK library, is being moved
to the runtime APEX. It is apparently the first LL-NDK library in the runtime
APEX that does not require a legacy symlink in /system/${LIB}. Therefore we
need to add the runtime APEX's ${LIB} directory to the various search paths
used by the linker so that the library can be loaded from the default and
sphal namespaces.

Bug: http://b/134459232
Test: Builds

Change-Id: I1f63e1a2a61e1717d00736ef431f3ec2a9334193
Merged-In: I1f63e1a2a61e1717d00736ef431f3ec2a9334193
(cherry picked from commit 61f5fdf5c907f83f777395b7ebd45432855b5e7b)
2020-04-25 14:27:01 -06:00
Wang Han
f518f75f1f
msm8974-common: Extend sphal search paths for media swcodec
* Legacy devices do not have vndk-sp, so we have to add
   /system/{LIB} to sphal search paths to make sure linker
   can find the according libraries successfully.

Change-Id: I95b4b4cc9b187ce2b3a50e4e4d1e4940f36e087d
2020-04-25 14:27:01 -06:00
Wang Han
853a30dffe
msm8974-common: Import loader config for media swcodec
* This config needs to be modified for legacy devices. As
   there is no easy way to split it, import it into device
   tree and bind mount it instead.

 * Head at android-10.0.0_r2
   (3ac371484399da6efbd0c835aa461d3326263ab1).

Change-Id: I8d5003d7cd3a471c569844aede4b5ea4c68ae36b
2020-04-25 14:27:00 -06:00