gta4xl-common: allow apps to access OpenCL libraries
Change-Id: I92ef2532ce4667c6d82ee8efc649b8f7bec5ab1b
diff --git a/config/linker/public.libraries.txt b/config/linker/public.libraries.txt
new file mode 100644
index 0000000..ac0fb67
--- /dev/null
+++ b/config/linker/public.libraries.txt
@@ -0,0 +1,4 @@
+libGLES_mali.so
+libOpenCL.so
+libOpenCL.so.1
+libOpenCL.so.1.1
diff --git a/platform/config.mk b/platform/config.mk
index 35adf1e..7896d42 100644
--- a/platform/config.mk
+++ b/platform/config.mk
@@ -17,6 +17,10 @@
PRODUCT_COPY_FILES += \
$(PLATFORM_PATH)/config/gps/gps_psds.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/gps/gps_psds.conf
+### PUBLIC LIBRARIES
+PRODUCT_COPY_FILES += \
+ $(PLATFORM_PATH)/config/linker/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
+
### POWER
PRODUCT_COPY_FILES += \
$(PLATFORM_PATH)/config/power/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json