Add a link from runtime ns to the neuralnetworks ns
libneuralnetworks.so could be preloaded. In that case, it should be accessible from libnativeloader which runs in the art namespace. Bug: 141847343 Bug: 142089311 Test: m, cheets2 boots Change-Id: I8710b624dff131f5cb797d53915f6597e3017c34
This commit is contained in:
parent
5d7969b58a
commit
e76c0d2816
|
@ -87,12 +87,13 @@ namespace.art.visible = true
|
|||
|
||||
namespace.art.search.paths = /apex/com.android.art/${LIB}
|
||||
namespace.art.asan.search.paths = /apex/com.android.art/${LIB}
|
||||
namespace.art.links = default
|
||||
namespace.art.links = default,neuralnetworks
|
||||
# Need allow_all_shared_libs because libart.so can dlopen oat files in
|
||||
# /system/framework and /data.
|
||||
# TODO(b/130340935): Use a dynamically created linker namespace similar to
|
||||
# classloader-namespace for oat files, and tighten this up.
|
||||
namespace.art.link.default.allow_all_shared_libs = true
|
||||
namespace.art.link.neuralnetworks.shared_libs = libneuralnetworks.so
|
||||
|
||||
###############################################################################
|
||||
# "media" APEX namespace
|
||||
|
|
Loading…
Reference in New Issue