summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2019-04-25 23:27:18 -0700
committerArian <arian.kulmer@web.de>2020-03-16 16:59:44 +0100
commitfee9ac09cbe7b997f4c9989a142c7d31b990cd96 (patch)
tree4434e42fe386605eca7a67b4b4dfb631dee1e6f6 /configs
parent358d25cb8963ad962853513f6a129afab018567a (diff)
shinano-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)
Diffstat (limited to 'configs')
-rw-r--r--configs/media/ld.config.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/media/ld.config.txt b/configs/media/ld.config.txt
index f9124ab..804b922 100644
--- a/configs/media/ld.config.txt
+++ b/configs/media/ld.config.txt
@@ -37,9 +37,11 @@ namespace.default.link.platform.shared_libs = libEGL.so:libGLESv1_CM.so:libGLESv
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 += /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.
# Add /apex/... pat to the permitted paths because linker uses realpath(3)