g12-common: Declare vulkan lib as a symlink during extraction
authorBruno Martins <bgcngm@gmail.com>
Mon, 18 Mar 2024 13:14:18 +0000 (13:14 +0000)
committerBruno Martins <bgcngm@gmail.com>
Tue, 19 Mar 2024 16:27:10 +0000 (16:27 +0000)
Change-Id: I2678e73e957081db7d988da589892b482985778e

Android.mk
proprietary-files.txt

index 8a7b77cb38c2fc5bbf63ccc7f6008ec7a3460d9a..9977aca1a7eb118616f839dddb2d6e31c5c9c69a 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2021-2023 The LineageOS Project
+# Copyright (C) 2021-2024 The LineageOS Project
 #
 # SPDX-License-Identifier: Apache-2.0
 #
@@ -9,14 +9,4 @@ ifneq ($(filter g12a g12b sm1,$(TARGET_AMLOGIC_SOC)),)
 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
index b8907cbcd168574f0c924c1418e387afaca52aea..ae3ab53c41ab2eef5fd7a96c282ccaebd46be5b6 100644 (file)
@@ -84,7 +84,7 @@ vendor/lib/libam_adp.so
 vendor/bin/hw/android.hardware.graphics.allocator@4.0-service
 vendor/etc/init/android.hardware.graphics.allocator@4.0-service.rc
 vendor/lib/arm.graphics-V1-ndk_platform.so
-vendor/lib/egl/libGLES_mali.so
+vendor/lib/egl/libGLES_mali.so;SYMLINK=vendor/lib/hw/vulkan.amlogic.so
 vendor/lib/hw/android.hardware.graphics.allocator@4.0-impl-arm.so
 vendor/lib/hw/android.hardware.graphics.mapper@4.0-impl-arm.so
 vendor/lib/libamgralloc_ext.so