Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2025c368 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Allow building against other qcom display HALs" into cm-11.0

parents f10bbe59 b92d63df
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -41,7 +41,11 @@ LOCAL_SHARED_LIBRARIES := \

# Executed only on QCOM BSPs
ifeq ($(TARGET_USES_QCOM_BSP),true)
    LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
ifneq ($(TARGET_QCOM_DISPLAY_VARIANT),)
    LOCAL_C_INCLUDES += hardware/qcom/display-$(TARGET_QCOM_DISPLAY_VARIANT)/libgralloc
else
    LOCAL_C_INCLUDES += hardware/qcom/display/$(TARGET_BOARD_PLATFORM)/libgralloc
endif
    LOCAL_CFLAGS += -DQCOM_BSP
endif

+5 −1
Original line number Diff line number Diff line
@@ -99,7 +99,11 @@ ifeq ($(BOARD_USES_SAMSUNG_HDMI),true)
endif

ifeq ($(TARGET_USES_QCOM_BSP), true)
    LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
ifneq ($(TARGET_QCOM_DISPLAY_VARIANT),)
    LOCAL_C_INCLUDES += hardware/qcom/display-$(TARGET_QCOM_DISPLAY_VARIANT)/libgralloc
else
    LOCAL_C_INCLUDES += hardware/qcom/display/$(TARGET_BOARD_PLATFORM)/libgralloc
endif
    LOCAL_CFLAGS += -DQCOM_BSP
endif