From 0b3f00ebe2b90bffbe38a52614e2933279a9a662 Mon Sep 17 00:00:00 2001 From: Volodymyr Zhdanov Date: Tue, 20 Oct 2020 02:38:54 +0300 Subject: [PATCH] sm6250-common: build renderscript hal from source --- BoardConfigCommon.mk | 3 +++ common.mk | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index bd47d97..1c5476e 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -172,6 +172,9 @@ TARGET_USES_MKE2FS := true # Releasetools TARGET_RELEASETOOLS_EXTENSIONS := $(COMMON_PATH) +# RenderScript +OVERRIDE_RS_DRIVER := libRSDriver_adreno.so + # RIL ENABLE_VENDOR_RIL_SERVICE := true diff --git a/common.mk b/common.mk index c0a2467..2f342d7 100644 --- a/common.mk +++ b/common.mk @@ -250,6 +250,10 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/rootdir/etc/init.recovery.qcom.rc:recovery/root/init.recovery.qcom.rc \ $(LOCAL_PATH)/rootdir/bin/init.recovery.qcom.sh:recovery/root/init.recovery.qcom.sh +# RenderScript HAL +PRODUCT_PACKAGES += \ + android.hardware.renderscript@1.0-impl + # Sensors PRODUCT_PACKAGES += \ android.hardware.sensors@1.0-impl \