Quite funny, the lib is actually a symlink to ../egl/libGLES_mali.so.
Change-Id: Ib185c9acb14e15fa358becd3973afeb0a4e8ad28
#
-# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2021-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
LOCAL_PATH := $(call my-dir)
include $(call all-makefiles-under,$(LOCAL_PATH))
+include $(CLEAR_VARS)
+
+VULKAN_SYMLINK := $(TARGET_OUT_VENDOR)/lib/hw
+$(VULKAN_SYMLINK): $(LOCAL_INSTALLED_MODULE)
+ @echo "Vulkan lib link: $@"
+ @mkdir -p $@
+ $(hide) ln -sf /vendor/lib/egl/libGLES_mali.so $@/vulkan.amlogic.so
+
+ALL_DEFAULT_INSTALLED_MODULES += $(VULKAN_SYMLINK)
+
endif
vendor/etc/init/android.hardware.usb.gadget@1.2-service.droidlogic.rc
vendor/etc/vintf/manifest/android.hardware.usb.gadget@1.2-service.droidlogic.xml
-# Vulkan
-vendor/lib/hw/vulkan.amlogic.so
-
# Widevine
vendor/bin/hw/android.hardware.drm@1.4-service.widevine
vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc