summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2019-03-27 11:50:49 +0900
committer Jooyung Han <jooyung@google.com> 2019-03-27 11:50:49 +0900
commit379d5888cd7fdca1739632651d3f96ad9adeb27d (patch)
treedae70f4af105c65f714a4ba5c6b3850fa1c08743
parent3c2ffd9770b384722f0f41f92bd1b9fe918e6556 (diff)
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
-rw-r--r--libs/android_runtime_lazy/Android.bp1
1 files changed, 1 insertions, 0 deletions
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",