exynos9820-common: Create libOpenCL symlinks
Change-Id: Ia4cae40c90dcb8e312de850f3b80e3a27e8f3263
diff --git a/Android.bp b/Android.bp
index cd564a9..7922d68 100644
--- a/Android.bp
+++ b/Android.bp
@@ -903,3 +903,45 @@
soc_specific: true,
}
+install_symlink {
+ name: "libGLES_mali_libOpenCL_symlink32",
+ soc_specific: true,
+ installed_location: "lib/libOpenCL.so",
+ symlink_target: "/vendor/lib/egl/libGLES_mali.so",
+}
+
+install_symlink {
+ name: "libGLES_mali_libOpenCL.so_symlink32",
+ soc_specific: true,
+ installed_location: "lib/libOpenCL.so.1",
+ symlink_target: "/vendor/lib/egl/libGLES_mali.so",
+}
+
+install_symlink {
+ name: "libGLES_mali_libOpenCL.so.1_symlink32",
+ soc_specific: true,
+ installed_location: "lib/libOpenCL.so.1.1",
+ symlink_target: "/vendor/lib/egl/libGLES_mali.so",
+}
+
+install_symlink {
+ name: "libGLES_mali_libOpenCL_symlink64",
+ soc_specific: true,
+ installed_location: "lib64/libOpenCL.so",
+ symlink_target: "/vendor/lib64/egl/libGLES_mali.so",
+}
+
+install_symlink {
+ name: "libGLES_mali_libOpenCL.so_symlink64",
+ soc_specific: true,
+ installed_location: "lib64/libOpenCL.so.1",
+ symlink_target: "/vendor/lib64/egl/libGLES_mali.so",
+}
+
+install_symlink {
+ name: "libGLES_mali_libOpenCL.so.1_symlink64",
+ soc_specific: true,
+ installed_location: "lib64/libOpenCL.so.1.1",
+ symlink_target: "/vendor/lib64/egl/libGLES_mali.so",
+}
+
diff --git a/exynos9820-common-vendor.mk b/exynos9820-common-vendor.mk
index 8a14424..cf19231 100644
--- a/exynos9820-common-vendor.mk
+++ b/exynos9820-common-vendor.mk
@@ -131,3 +131,11 @@
tzdaemon \
tzts_daemon \
vaultkeeperd
+
+PRODUCT_PACKAGES += \
+ libGLES_mali_libOpenCL_symlink32 \
+ libGLES_mali_libOpenCL.so_symlink32 \
+ libGLES_mali_libOpenCL.so.1_symlink32 \
+ libGLES_mali_libOpenCL_symlink64 \
+ libGLES_mali_libOpenCL.so_symlink64 \
+ libGLES_mali_libOpenCL.so.1_symlink64