config: Use arm_gralloc,gralloc_version for grallocwrapper and libexynosgraphicbuffer

Change-Id: I1f1908d7af49456a5d11ebf48eef300563b34114
This commit is contained in:
Tim Zimmermann
2025-01-30 18:54:33 +01:00
parent 796c4d73ae
commit 261e3d82f8
3 changed files with 3 additions and 4 deletions

View File

@@ -38,16 +38,13 @@ ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),0)
$(call soong_config_set,libgrallocwrapper,gralloc_version,none)
endif
ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),1)
$(call soong_config_set,libgrallocwrapper,gralloc_version,one)
include hardware/samsung_slsi-linaro/config/gralloc1.mk
endif
ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),3)
$(call soong_config_set,exynosgraphicbuffer,gralloc_version,three)
$(call soong_config_set,libgrallocwrapper,gralloc_version,three)
include hardware/samsung_slsi-linaro/config/gralloc3.mk
endif
ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION),4)
$(call soong_config_set,exynosgraphicbuffer,gralloc_version,four)
$(call soong_config_set,arm_gralloc,gralloc_version,four)
endif
# libexynosscaler

View File

@@ -1,4 +1,5 @@
$(call soong_config_set,arm_gralloc,gralloc_version,one)
ifeq ($(BOARD_USES_EXYNOS5_GRALLOC_RANGE_FLUSH), true)
$(call soong_config_set,arm_gralloc,DGRALLOC_RANGE_FLUSH,true)
endif

View File

@@ -1,4 +1,5 @@
$(call soong_config_set,arm_gralloc,gralloc_version,three)
ifeq ($(BOARD_USES_EXYNOS_AFBC_FEATURE), true)
$(call soong_config_set,arm_gralloc,uses_exynos_afbc_feature,true)
endif