OSDN Git Service
(root)
/
android-x86
/
system-linkerconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f74c2b7
)
Add a link from runtime ns to the neuralnetworks ns
author
Jiyong Park
<jiyong@google.com>
Wed, 2 Oct 2019 07:01:35 +0000
(16:01 +0900)
committer
Jiyong Park
<jiyong@google.com>
Wed, 2 Oct 2019 07:01:35 +0000
(16:01 +0900)
libneuralnetworks.so could be preloaded. In that case, it should be
accessible from libnativeloader which runs in the runtime namespace.
Bug:
141847343
Test: m, device boots
Change-Id: Ie1e17a433fb64cc31d1bbc7fa8945fa36c82aea8
contents/namespace/runtime.cc
patch
|
blob
|
history
diff --git
a/contents/namespace/runtime.cc
b/contents/namespace/runtime.cc
index
493c288
..
3ec93ab
100644
(file)
--- a/
contents/namespace/runtime.cc
+++ b/
contents/namespace/runtime.cc
@@
-31,6
+31,8
@@
Namespace BuildRuntimeNamespace([[maybe_unused]] const Context& ctx) {
// library when it exists.
ns.CreateLink(ctx.IsVendorSection() ? "system" : "default", true);
+ ns.CreateLink("neuralnetworks").AddSharedLib("libneuralnetworks.so");
+
return ns;
}
} // namespace contents