| LOCAL_PROPRIETARY_MODULE := true |
| |
| ifeq ($(BOARD_DYNAMIC_RECOMPOSITION_DISABLED), true) |
| LOCAL_CFLAGS += -DDYNAMIC_RECOMPOSITION_DISABLED |
| endif |
| |
| ifeq ($(TARGET_USES_UNIVERSAL_LIBHWJPEG), true) |
| LOCAL_CFLAGS += -DUSES_UNIVERSAL_LIBHWJPEG |
| endif |
| |
| ifeq ($(BOARD_USES_FIMC), true) |
| LOCAL_CFLAGS += -DUSES_FIMC |
| else |
| LOCAL_CFLAGS += -DUSES_GSCALER |
| endif |
| |
| ifeq ($(BOARD_USES_IP_SERVICE), true) |
| LOCAL_CFLAGS += -DIP_SERVICE |
| endif |
| |
| ifeq ($(BOARD_USES_HWC_SERVICES),true) |
| LOCAL_CFLAGS += -DHWC_SERVICES |
| ifeq ($(BOARD_USE_S3D_SUPPORT),true) |
| LOCAL_CFLAGS += -DS3D_SUPPORT |
| endif |
| endif |
| |
| ifeq ($(HWC_SKIP_VALIDATE),true) |
| LOCAL_CFLAGS += -DHWC_SKIP_VALIDATE |
| endif |
| |
| ifeq ($(BOARD_USES_VIRTUAL_DISPLAY), true) |
| LOCAL_CFLAGS += -DUSES_VIRTUAL_DISPLAY |
| endif |
| |
| ifeq ($(BOARD_USES_DISABLE_COMPOSITIONTYPE_GLES), true) |
| LOCAL_CFLAGS += -DUSES_DISABLE_COMPOSITIONTYPE_GLES |
| endif |
| |
| ifeq ($(BOARD_USES_VIRTUAL_DISPLAY_DECON_EXT_WB), true) |
| LOCAL_CFLAGS += -DUSES_VIRTUAL_DISPLAY_DECON_EXT_WB |
| endif |
| |
| ifeq ($(BOARD_USES_3MSC_FOR_WFD), true) |
| LOCAL_CFLAGS += -DUSES_3MSC_FOR_WFD |
| endif |
| |
| ifeq ($(BOARD_USES_2MSC_FOR_WFD), true) |
| LOCAL_CFLAGS += -DUSES_2MSC_FOR_WFD |
| endif |
| |
| ifeq ($(BOARD_USES_FB_PHY_LINEAR),true) |
| LOCAL_CFLAGS += -DUSE_FB_PHY_LINEAR |
| endif |
| |
| ifeq ($(BOARD_TV_PRIMARY),true) |
| LOCAL_CFLAGS += -DTV_PRIMARY |
| endif |
| ifeq ($(BOARD_HDMI_INCAPABLE), true) |
| LOCAL_CFLAGS += -DHDMI_INCAPABLE |
| ifeq ($(BOARD_HDMI_PRIMARY_DISPLAY), true) |
| LOCAL_CFLAGS += -DHDMI_PRIMARY_DISPLAY |
| endif |
| else |
| ifeq ($(BOARD_USES_NEW_HDMI), true) |
| LOCAL_CFLAGS += -DUSES_NEW_HDMI |
| endif |
| ifeq ($(BOARD_USES_GSC_VIDEO), true) |
| LOCAL_CFLAGS += -DGSC_VIDEO |
| endif |
| ifeq ($(BOARD_USES_VP_VIDEO),true) |
| LOCAL_CFLAGS += -DVP_VIDEO |
| endif |
| endif |
| |
| ifeq ($(BOARD_USES_ONLY_GSC0_GSC1),true) |
| LOCAL_CFLAGS += -DUSES_ONLY_GSC0_GSC1 |
| endif |
| |
| ifeq ($(BOARD_USES_DT), true) |
| LOCAL_CFLAGS += -DUSES_DT |
| endif |
| |
| ifeq ($(BOARD_USES_U4A),true) |
| LOCAL_CFLAGS += -DUSES_U4A |
| endif |
| |
| ifeq ($(BOARD_USES_WINDOW_UPDATE), true) |
| LOCAL_CFLAGS += -DUSES_WINDOW_UPDATE |
| endif |
| |
| ifeq ($(BOARD_USES_DPU), true) |
| LOCAL_CFLAGS += -DUSES_DPU |
| endif |
| |
| ifeq ($(BOARD_USES_HWC2_TINY), true) |
| LOCAL_CFLAGS += -DUSES_HWC2_TINY |
| endif |
| |
| ifeq ($(TARGET_USES_HWC2), true) |
| LOCAL_CFLAGS += -DTARGET_USES_HWC2 |
| endif |
| |
| ifeq ($(BOARD_USES_HWC2), true) |
| LOCAL_CFLAGS += -DUSES_HWC2 |
| endif |
| |
| ifeq ($(BOARD_USES_VPP), true) |
| LOCAL_CFLAGS += -DUSES_VPP |
| endif |
| |
| ifeq ($(BOARD_USES_VPP_V2), true) |
| LOCAL_CFLAGS += -DUSES_VPP_V2 |
| endif |
| |
| ifeq ($(TARGET_SOC), exynos8890) |
| LOCAL_CFLAGS += -DUSES_DECON_AFBC_DECODER |
| endif |
| |
| ifeq ($(TARGET_SOC), exynos7570) |
| LOCAL_CFLAGS += -DUSES_EXYNOS7570 |
| endif |
| |
| ifeq ($(TARGET_SOC), exynos7870) |
| LOCAL_CFLAGS += -DUSES_EXYNOS7870 |
| endif |
| |
| ifeq ($(BOARD_USE_GRALLOC_FLAG_FOR_HDMI), true) |
| LOCAL_CFLAGS += -DUSE_GRALLOC_FLAG_FOR_HDMI |
| endif |
| |
| ifeq ($(BOARD_USE_HDMI_ON_IN_SUSPEND), true) |
| LOCAL_CFLAGS += -DHDMI_ON_IN_SUSPEND |
| endif |
| |
| ifeq ($(BOARD_USES_DUAL_DISPLAY), true) |
| LOCAL_CFLAGS += -DUSES_DUAL_DISPLAY |
| endif |
| |
| ifeq ($(TARGET_ARCH), arm64) |
| LOCAL_CFLAGS += -DUSES_ARCH_ARM64 |
| endif |
| |
| ifeq ($(BOARD_USES_DECON_64BIT_ADDRESS), true) |
| LOCAL_CFLAGS += -DUSES_DECON_64BIT_ADDRESS |
| endif |
| |
| ifeq ($(BOARD_USES_EXYNOS_AFBC_FEATURE), true) |
| LOCAL_CFLAGS += -DUSES_AFBC_FEATURE |
| endif |
| |
| ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION), 1) |
| LOCAL_CFLAGS += -DGRALLOC_VERSION1 |
| endif |
| |
| ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION), 3) |
| LOCAL_CFLAGS += -DGRALLOC_VERSION1 |
| LOCAL_CFLAGS += -DGRALLOC_VERSION3 |
| endif |
| |
| ifeq ($(BOARD_USES_EXYNOS_GRALLOC_VERSION), 4) |
| LOCAL_CFLAGS += -DGRALLOC_VERSION1 |
| LOCAL_CFLAGS += -DGRALLOC_VERSION3 |
| endif |
| |
| ifeq ($(BOARD_USES_EXYNOS_FIMG4X), true) |
| LOCAL_CFLAGS += -DUSES_FIMG4X_BLIT |
| else |
| ifeq ($(BOARD_USES_EXYNOS_FIMG5X), true) |
| LOCAL_CFLAGS += -DUSES_FIMG5X_BLIT |
| endif |
| endif |
| |
| ifeq ($(BOARD_USES_EXTERNAL_DISPLAY_POWERMODE), true) |
| LOCAL_CFLAGS += -DUSES_EXTERNAL_DISPLAY_POWERMODE |
| endif |
| |
| ifeq ($(BOARD_USES_HDRUI_GLES_CONVERSION), true) |
| LOCAL_CFLAGS += -DUSES_HDR_GLES_CONVERSION |
| endif |
| |
| ifeq ($(BOARD_USE_FULL_ST2094_40), true) |
| LOCAL_CFLAGS += -DUSE_FULL_ST2094_40 |
| endif |