universal7904: Add libGLES_mali symlinks
Change-Id: I1f479c0d08a87d9f8afde68c71af2b78e1b594ad
diff --git a/Android.bp b/Android.bp
index 78b0d5c..2eb888d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -882,3 +882,31 @@
soc_specific: true,
}
+install_symlink {
+ name: "libGLES_mali_vulkan.universal7904_symlink64",
+ soc_specific: true,
+ installed_location: "lib64/hw/vulkan.universal7904.so",
+ symlink_target: "/vendor/lib64/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/universal7904-common-vendor.mk b/universal7904-common-vendor.mk
index 8a373d7..5035466 100644
--- a/universal7904-common-vendor.mk
+++ b/universal7904-common-vendor.mk
@@ -133,3 +133,9 @@
rild \
vendor.samsung.hardware.gnss@2.0-service \
main_abox
+
+PRODUCT_PACKAGES += \
+ libGLES_mali_vulkan.universal7904_symlink64 \
+ libGLES_mali_libOpenCL_symlink64 \
+ libGLES_mali_libOpenCL.so_symlink64 \
+ libGLES_mali_libOpenCL.so.1_symlink64