aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-08-22 16:41:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-08-22 16:41:44 +0000
commit64e75f21578185c461963add455e87ffb411c1d2 (patch)
tree023323faa22ab6077df6c59764fe5b0a240c024e /docs
parent45ce85e3d8b0808b821c9cff552c8200b731f027 (diff)
parentf023fbd45d9680392a8a82bbedd5eddd32b39a1c (diff)
downloadndk-64e75f21578185c461963add455e87ffb411c1d2.tar.gz
Merge "Add a description about options available for public.libraries.txt"
Diffstat (limited to 'docs')
-rw-r--r--docs/PlatformApis.md12
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