From 379d5888cd7fdca1739632651d3f96ad9adeb27d Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Wed, 27 Mar 2019 11:50:49 +0900 Subject: Mark libandroid_runtime_lazy as double_loadable Because of following two conditions, - libmediandk(LL-NDK) depends on it. - libandroid_runtime_lazy is vendor_available:true. This lib is vendor_available but actually it is not supposed to be used by vendor processes (which are not app_process and there is no android_runtime). If the vendor variant of this lib is loaded and the delegate functions are called, then dlopen will fail as expected. Bug: 125550121 Test: m -j Change-Id: I7f417d771ccff0679018f9533a5bf1c2b3b43f00 --- libs/android_runtime_lazy/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs') diff --git a/libs/android_runtime_lazy/Android.bp b/libs/android_runtime_lazy/Android.bp index b200314fed..9284acbff3 100644 --- a/libs/android_runtime_lazy/Android.bp +++ b/libs/android_runtime_lazy/Android.bp @@ -33,6 +33,7 @@ cc_library { name: "libandroid_runtime_lazy", vendor_available: true, + double_loadable: true, cflags: [ "-Wall", -- cgit v1.2.3-59-g8ed1b