Add search paths for asan build

Bug: 123292626
Test: aosp_cf_x86_pasan boots
Change-Id: I3a3c5adccb46558a225441738f4357a6846d68f9
diff --git a/build/apex/ld.config.txt b/build/apex/ld.config.txt
index 0129772..fa5f8cb 100644
--- a/build/apex/ld.config.txt
+++ b/build/apex/ld.config.txt
@@ -13,6 +13,7 @@
 # Keep in sync with runtime namespace in /system/etc/ld.config.txt.
 namespace.default.isolated = true
 namespace.default.search.paths = /apex/com.android.runtime/${LIB}
+namespace.default.asan.search.paths = /apex/com.android.runtime/${LIB}
 # odex files are in /system/framework. dalvikvm has to be able to dlopen the
 # files for CTS.
 namespace.default.permitted.paths = /system/framework
@@ -23,6 +24,7 @@
 # Keep in sync with default namespace in /system/etc/ld.config.txt.
 namespace.platform.isolated = true
 namespace.platform.search.paths = /system/${LIB}
+namespace.platform.asan.search.paths = /data/asan/system/${LIB}
 namespace.platform.links = default
 namespace.platform.link.default.shared_libs  = libart.so:libartd.so
 namespace.platform.link.default.shared_libs += libnativebridge.so
@@ -44,6 +46,7 @@
 namespace.conscrypt.visible = true
 
 namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
+namespace.conscrypt.asan.search.paths = /apex/com.android.conscrypt/${LIB}
 namespace.conscrypt.links = platform
 namespace.conscrypt.link.platform.shared_libs  = libc.so
 namespace.conscrypt.link.platform.shared_libs += libm.so