From c858ca452901b8a27bad076646ffb8468cef3c20 Mon Sep 17 00:00:00 2001 From: oshmoun Date: Sun, 18 Feb 2018 23:00:04 +0100 Subject: wayne-common: Add public.libraries.txt Android needs this text file to know what libraries are allowed to be loaded by apps directly. For now, add: libOpenCL.so to the list, in order to get OpenCL to function properly. adsprpc related libraries, since they were also declared public in stock. Change-Id: I15ef7a7ab7d1f1a0cc6b484cd2ca9993f40de23b --- configs/public.libraries.txt | 3 +++ wayne.mk | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 configs/public.libraries.txt diff --git a/configs/public.libraries.txt b/configs/public.libraries.txt new file mode 100644 index 0000000..19c3863 --- /dev/null +++ b/configs/public.libraries.txt @@ -0,0 +1,3 @@ +libqti-perfd-client.so +libadsprpc.so +libOpenCL.so diff --git a/wayne.mk b/wayne.mk index 6129715..7835b3e 100644 --- a/wayne.mk +++ b/wayne.mk @@ -351,6 +351,10 @@ PRODUCT_PACKAGES += \ power.sdm660 \ android.hardware.power@1.1-service-qti \ +# Public Libraries +PRODUCT_COPY_FILES += \ + $(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt + # Low power Whitelist PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml \ -- cgit v1.2.3