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)
This commit is contained in:
parent
f518f75f1f
commit
fc16d6b483
@ -37,9 +37,11 @@ namespace.default.link.platform.shared_libs = libEGL.so:libGLESv1_CM.so:libGLESv
|
|||||||
|
|
||||||
namespace.platform.isolated = true
|
namespace.platform.isolated = true
|
||||||
|
|
||||||
namespace.platform.search.paths = /system/${LIB}
|
namespace.platform.search.paths = /system/${LIB}
|
||||||
|
namespace.platform.search.paths += /apex/com.android.runtime/${LIB}
|
||||||
namespace.platform.asan.search.paths = /data/asan/system/${LIB}
|
namespace.platform.asan.search.paths = /data/asan/system/${LIB}
|
||||||
namespace.platform.asan.search.paths += /system/${LIB}
|
namespace.platform.asan.search.paths += /system/${LIB}
|
||||||
|
namespace.platform.asan.search.paths += /apex/com.android.runtime/${LIB}
|
||||||
|
|
||||||
# /system/lib/libc.so, etc are symlinks to /apex/com.android.lib/lib/bionic/libc.so, etc.
|
# /system/lib/libc.so, etc are symlinks to /apex/com.android.lib/lib/bionic/libc.so, etc.
|
||||||
# Add /apex/... pat to the permitted paths because linker uses realpath(3)
|
# Add /apex/... pat to the permitted paths because linker uses realpath(3)
|
||||||
|
Loading…
Reference in New Issue
Block a user