Mark libziparchive as double_loadable

libziparchive is explicitly marked as double_loadable since it is one of the
(indirect) dependencies of the LLNDK library libvulkan
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: Id0a731d553bbb68b84bca421500c94b7b35eca14
Change-Id: Id0a731d553bbb68b84bca421500c94b7b35eca14
(cherry picked from commit 730728cbb4)
This commit is contained in:
Jiyong Park 2018-04-09 12:20:48 +09:00
parent 01ce44b734
commit 91687878c5

View file

@ -61,6 +61,7 @@ cc_library {
vndk: {
enabled: true,
},
double_loadable: true,
defaults: [
"libziparchive_defaults",