From 2d81f3c4098fd971019e9c8c6685a4a1664a8ba8 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Tue, 29 Jan 2019 00:36:19 +0900 Subject: Cut the static deps from libvulkan to libnativeloader and libnativebridge The dependencies are replaced with *_lazy libraries which dynamically load and links to the real libraries at runtime using dlopen and dlsym. This allows libvulkan to be used by early processes that are executed before the activation of the runtime APEX where libnativeloader and libnativebridge are provided. Bug: 123403798 Test: m Test: device boots to the UI Change-Id: Id55e7b8b0269b1f39917cf9f5c57f55218a67fc4 --- vulkan/libvulkan/Android.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vulkan/libvulkan/Android.bp b/vulkan/libvulkan/Android.bp index fed8481e7b..206c8eb379 100644 --- a/vulkan/libvulkan/Android.bp +++ b/vulkan/libvulkan/Android.bp @@ -84,8 +84,8 @@ cc_library_shared { "libutils", "libcutils", "libz", - "libnativebridge", - "libnativeloader", + "libnativebridge_lazy", + "libnativeloader_lazy", "libnativewindow", "android.hardware.graphics.common@1.0", ], -- cgit v1.2.3-59-g8ed1b