summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2019-05-04 20:34:59 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit5b65c1136893b2697fb3f96bf6b715c424a66c58 (patch)
treefcfcde68322bb960785fd1d24a1ce0fc84bbffed
parent856cd52472035fd30461b92130ca06de24987e66 (diff)
sdm660-common: create libGLESv2_adreno.so symlink
* libGLESv2_adreno.so is needed on camera blobs Change-Id: Iced972a02073e0c327e02a359870aeec299af0bd
-rw-r--r--Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 2752584..7accac6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -108,5 +108,12 @@ ALL_DEFAULT_INSTALLED_MODULES += \
$(RFS_MSM_MPSS_SYMLINKS) \
$(RFS_MSM_SLPI_SYMLINKS)
+EGL_SYMLINK := $(TARGET_OUT_VENDOR)/lib/libGLESv2_adreno.so
+$(EGL_SYMLINK): $(LOCAL_INSTALLED_MODULE)
+ @mkdir -p $(dir $@)
+ $(hide) ln -sf egl/$(notdir $@) $@
+
+ALL_DEFAULT_INSTALLED_MODULES += $(EGL_SYMLINK)
+
include $(call all-makefiles-under,$(LOCAL_PATH))
endif