diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-08-22 16:41:44 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-08-22 16:41:44 +0000 |
commit | 64e75f21578185c461963add455e87ffb411c1d2 (patch) | |
tree | 023323faa22ab6077df6c59764fe5b0a240c024e /docs | |
parent | 45ce85e3d8b0808b821c9cff552c8200b731f027 (diff) | |
parent | f023fbd45d9680392a8a82bbedd5eddd32b39a1c (diff) | |
download | ndk-64e75f21578185c461963add455e87ffb411c1d2.tar.gz |
Merge "Add a description about options available for public.libraries.txt"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/PlatformApis.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/PlatformApis.md b/docs/PlatformApis.md index c3a1a9b60..cc781a7d6 100644 --- a/docs/PlatformApis.md +++ b/docs/PlatformApis.md @@ -138,6 +138,18 @@ stored in: devices - `system/core/rootdir/etc/public.libraries.iot.txt` for Android Things devices +If a library is specific to either 32 or 64-bit ABI, append `32` or `64` to the +line (with space) to specify the bitness. e.g. `libfoo.so 32`. If neither 32 nor +64 is specified, the library is considered to be available for all ABIs of the +device. + +By default, all the libraries listed in the above text file are preloaded when the +app process is started. This behavior can be controlled per library by appending +`nopreload` option. e.g. `libfoo.so nopreload`. Libraries with the option won't be +preloaded, but will be loaded on demand. + +The `nopreload` option and the bitness option can be used together as in +`libfoo.so 32 nopreload`. ### CTS |