ld-config: Export android.hidl.memory@1.0-impl
This commit exports android.hidl.memory@1.0-impl.so from default linker namespace to vndk (VNDK-SP) linker namespace. This fixes libhidlmemory.so failure. Note: Exposing android.hidl.memory@1.0-impl.so from default linker namespace to vndk (VNDK-SP) linker namespace shall be fine because its APIs are frozen and won't be changed in the future. Note: android.hidl.memory@1.0-impl.so is NOT exported to sphal linker namespace. Bug: 35107583 Bug: 62778280 Test: Write a test SP-HAL lib which links libhidlmemory.so, load that SP-HAL lib into system executable, and make sure mapMemory() works. Test: sailfish boots w/o problems. Change-Id: Ia36350dcf1f8c8dc6d7bf2c7a6ae65e0ebaef578
This commit is contained in:
parent
46163119d5
commit
bd7503dae7
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ namespace.vndk.asan.permitted.paths = /data/asan/vendor/${LIB}/hw:/vendor/${LIB}
|
|||
# to the default namespace. This is possible since their ABI is stable across
|
||||
# Android releases.
|
||||
namespace.vndk.links = default
|
||||
namespace.vndk.link.default.shared_libs = libc.so:libm.so:libdl.so:libstdc++.so:liblog.so:libnativewindow.so:libEGL.so:libsync.so:libvndksupport.so
|
||||
namespace.vndk.link.default.shared_libs = android.hidl.memory@1.0-impl.so:libc.so:libm.so:libdl.so:libstdc++.so:liblog.so:libnativewindow.so:libEGL.so:libsync.so:libvndksupport.so
|
||||
|
||||
|
||||
[vendor]
|
||||
|
|
Loading…
Reference in a new issue