aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-04-09 12:11:27 +0900
committerJiyong Park <jiyong@google.com>2018-04-18 09:43:36 +0900
commit0cbd7d60122ae686bd8044ffb570b598f648ae3d (patch)
tree77f2eff6d1f26ccf8ca419697d34d04faa5373ee
parente500fa038e3ebdfb48fc95190b2d3e511cb27d32 (diff)
downloadlibpng-0cbd7d60122ae686bd8044ffb570b598f648ae3d.tar.gz
Mark libpng as double_loadable
libpng is explicitly marked as double_loadable since it is one of the (indirect) dependencies of the LLNDK library libnativewindow (libft2 -> libpng) and at the same time the lib itself is marked as VNDK. Such lib can be double loaded inside a vendor process. Note: even without this change, the library is already capable of being double loaded due to the dependency graph around it. This change is to make it explicit so that double loading of a library is carefully tracked and signed-off by the owner of the lib. Bug: 77155589 Test: m -j Merged-In: I9668ec31a1aca0305bd7bd7c0687d2ad331e221d Change-Id: I9668ec31a1aca0305bd7bd7c0687d2ad331e221d (cherry picked from commit 5e8fc8e43145ed2d323bd2a52fe5ebce6be273cb)
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index aea02bfa1..374247020 100644
--- a/Android.bp
+++ b/Android.bp
@@ -79,6 +79,7 @@ cc_library {
vndk: {
enabled: true,
},
+ double_loadable: true,
host_supported: true,
defaults: ["libpng-defaults"],
target: {