diff options
author | 2020-03-03 00:46:50 +0900 | |
---|---|---|
committer | 2020-03-04 05:56:39 +0000 | |
commit | 538f99ab285c1440969b9b3331fc0ce750c0d316 (patch) | |
tree | 018e9cbfc08ba39b3f35e457a8658fcc4cc8db75 /libnativeloader/library_namespaces.h | |
parent | 6fc471e510d6a4e9c31fcab6c0542e2efdf50099 (diff) |
Loading JNI libraries in an APEX
To load JNI libraries in an APEX, libnativeloader relies on
jni.config.txt file which contains available JNI libraries for
APEX namespaces:
com_android_foo libfoo_jni.so:...
com_android_bar libbar_jni.so:...
This file is generated by linkerconfig.
Bug: 143733063
Test: cuttlestone boots
(For now, no behavioral changes because jni.config.txt is empty)
Change-Id: I066de90a73875118be53972e50d076061922d762
Diffstat (limited to 'libnativeloader/library_namespaces.h')
-rw-r--r-- | libnativeloader/library_namespaces.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnativeloader/library_namespaces.h b/libnativeloader/library_namespaces.h index 8fac534302..e6d1a87cbb 100644 --- a/libnativeloader/library_namespaces.h +++ b/libnativeloader/library_namespaces.h @@ -67,6 +67,8 @@ class LibraryNamespaces { std::list<std::pair<jweak, NativeLoaderNamespace>> namespaces_; }; +Result<std::string> FindApexNamespaceName(const std::string& location); + } // namespace android::nativeloader #endif // ART_LIBNATIVELOADER_LIBRARY_NAMESPACES_H_ |