Revert "exynos9610: copy libGLES_mali.so to vulkan.exynos9610.so"
authorJan Altensen <info@stricted.net>
Sun, 9 May 2021 20:51:57 +0000 (22:51 +0200)
committerJan Altensen <info@stricted.net>
Mon, 10 May 2021 05:03:27 +0000 (07:03 +0200)
 * apparently symlinks works again?

This reverts commit e59aee7d73753e9e944839a4a34324d98d7a0225.

Change-Id: I7bee55e415bb30f2fd72bb88480302ef48f72818

Android.mk

index db03476fc4d55b2968ff100b5fd0c701eb584c90..e397a0cbcc724fbc0343be576454b7602eef12c8 100644 (file)
@@ -22,7 +22,7 @@ include $(call all-makefiles-under,$(LOCAL_PATH))
 
 include $(CLEAR_VARS)
 
-EGL_LIBS := libOpenCL.so libOpenCL.so.1 libOpenCL.so.1.1
+EGL_LIBS := libOpenCL.so libOpenCL.so.1 libOpenCL.so.1.1 hw/vulkan.exynos9610.so
 
 EGL_32_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib/,$(EGL_LIBS))
 $(EGL_32_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@@ -38,23 +38,7 @@ $(EGL_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
        @rm -rf $@
        $(hide) ln -sf /vendor/lib64/egl/libGLES_mali.so $@
 
-VULKAN_LIBS := vulkan.exynos9610.so
-
-VULKAN_32_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib/hw/,$(VULKAN_LIBS))
-$(VULKAN_32_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
-       @echo "Copy Vulkan lib: $@"
-       @mkdir -p $(dir $@)
-       @rm -rf $@
-       $(hide) cp $(TARGET_OUT_VENDOR)/lib/egl/libGLES_mali.so $@
-
-VULKAN_64_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib64/hw/,$(VULKAN_LIBS))
-$(VULKAN_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
-       @echo "Copy Vulkan lib: $@"
-       @mkdir -p $(dir $@)
-       @rm -rf $@
-       $(hide) cp $(TARGET_OUT_VENDOR)/lib64/egl/libGLES_mali.so $@
-
-ALL_DEFAULT_INSTALLED_MODULES += $(EGL_32_SYMLINKS) $(EGL_64_SYMLINKS) $(VULKAN_32_SYMLINKS) $(VULKAN_64_SYMLINKS)
+ALL_DEFAULT_INSTALLED_MODULES += $(EGL_32_SYMLINKS) $(EGL_64_SYMLINKS)
 
 -include hardware/samsung/hidl/Android.mk