diff options
| author | Dimitry Ivanov <dimitry@google.com> | 2017-05-01 15:12:49 -0700 |
|---|---|---|
| committer | Dimitry Ivanov <dimitry@google.com> | 2017-05-24 11:02:31 -0700 |
| commit | af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e (patch) | |
| tree | deb23c8d1f1d2c447be01818755f428d7d2a4f22 /libnativeloader/include/nativeloader | |
| parent | eb9694a2d195fad283485c5c54aaf622fa59ad84 (diff) | |
| download | system_core-af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e.tar.gz system_core-af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e.tar.bz2 system_core-af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e.zip | |
Load vendor public libraries to sphal namespace
Load vendor public libraries to sphal namespace
if it exists - preserve old behavior of loading
these libraries to default namespace if sphal
namespace is not present on the device.
Bug: http://b/37410104
Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsJniTestCases
on marlin (with enabled sphal configuration) and on angler where ld.config.txt
is not present.
Change-Id: Iaa3fa437ba2900acc2e5b9c78039fe1553e4c9dd
Diffstat (limited to 'libnativeloader/include/nativeloader')
| -rw-r--r-- | libnativeloader/include/nativeloader/dlext_namespaces.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnativeloader/include/nativeloader/dlext_namespaces.h b/libnativeloader/include/nativeloader/dlext_namespaces.h index 912127753..43c932978 100644 --- a/libnativeloader/include/nativeloader/dlext_namespaces.h +++ b/libnativeloader/include/nativeloader/dlext_namespaces.h @@ -124,6 +124,8 @@ extern bool android_link_namespaces(android_namespace_t* from, */ extern void android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size); +extern android_namespace_t* android_get_exported_namespace(const char* name); + __END_DECLS #endif /* __ANDROID_DLEXT_NAMESPACES_H__ */ |
