From 91687878c5e9ac0725b9c7db9ddcc92e2ca155ce Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 9 Apr 2018 12:20:48 +0900 Subject: [PATCH] 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 730728cbb4cf056086d6974d0cd2f7426c607ca9) --- libziparchive/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/libziparchive/Android.bp b/libziparchive/Android.bp index 075fb86e1..ed1b9bc24 100644 --- a/libziparchive/Android.bp +++ b/libziparchive/Android.bp @@ -61,6 +61,7 @@ cc_library { vndk: { enabled: true, }, + double_loadable: true, defaults: [ "libziparchive_defaults",