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

Commit b92d63df authored by Dan Pasanen's avatar Dan Pasanen
Browse files

Allow building against other qcom display HALs

* also fix normal pathing to use the new aosp paths

Change-Id: I26ca3f28f950e82130ba51b4408234d06703d044
parent 34350c89
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