Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ec6f59e authored by Jiyong Park's avatar Jiyong Park
Browse files

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 runtime namespace.

Bug: 141847343
Bug: 142111172
Test: m, marlin/sailfish boots
Change-Id: I5b2f3073d0711d6049b4e1e1bd0bcc403949fe14
parent ac6672d4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -108,12 +108,13 @@ namespace.runtime.visible = true

namespace.runtime.search.paths = /apex/com.android.art/${LIB}
namespace.runtime.asan.search.paths = /apex/com.android.art/${LIB}
namespace.runtime.links = default
namespace.runtime.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.runtime.link.default.allow_all_shared_libs = true
namespace.runtime.link.neuralnetworks.shared_libs = libneuralnetworks.so

###############################################################################
# "media" APEX namespace