display: use some cm specific build flags and fix up cflags for qcom hardware
Change-Id: I3e39bbb522313d4bafd97cd205411f32a992a697
This commit is contained in:
parent
996254486f
commit
eae32cda02
@ -1,7 +1,7 @@
|
||||
#Enables the listed display HAL modules
|
||||
|
||||
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
|
||||
display-hals := libhwcomposer liboverlay libgralloc libcopybit
|
||||
display-hals := libhwcomposer liboverlay libgralloc libcopybit libgenlock libtilerenderer
|
||||
display-hals += libqcomui
|
||||
include $(call all-named-subdir-makefiles,$(display-hals))
|
||||
endif
|
||||
|
@ -9,7 +9,7 @@ LOCAL_SRC_FILES := genlock.cpp
|
||||
LOCAL_CFLAGS:= -DLOG_TAG=\"libgenlock\"
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
ifeq ($(BOARD_USES_GENLOCK),true)
|
||||
ifeq ($(TARGET_USES_GENLOCK),true)
|
||||
LOCAL_CFLAGS += -DUSE_GENLOCK
|
||||
endif
|
||||
|
||||
|
@ -36,8 +36,8 @@ ifeq ($(call is-board-platform,msm7x27),true)
|
||||
LOCAL_CFLAGS += -DTARGET_MSM7x27
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_HAVE_HDMI_OUT),true)
|
||||
LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY
|
||||
ifeq ($(TARGET_QCOM_HDMI_OUT),true)
|
||||
LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY -DQCOM_HDMI_OUT
|
||||
LOCAL_C_INCLUDES += hardware/qcom/display/liboverlay
|
||||
LOCAL_SHARED_LIBRARIES += liboverlay
|
||||
endif
|
||||
|
@ -13,6 +13,7 @@ LOCAL_SRC_FILES := \
|
||||
|
||||
LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM)
|
||||
LOCAL_CFLAGS:= -DLOG_TAG=\"$(TARGET_BOARD_PLATFORM).hwcomposer\"
|
||||
LOCAL_CFLAGS += -DQCOM_HARDWARE
|
||||
|
||||
LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
|
||||
LOCAL_C_INCLUDES += hardware/qcom/display/liboverlay
|
||||
@ -20,8 +21,8 @@ LOCAL_C_INCLUDES += hardware/qcom/display/libcopybit
|
||||
LOCAL_C_INCLUDES += hardware/qcom/display/libgenlock
|
||||
LOCAL_C_INCLUDES += hardware/qcom/display/libqcomui
|
||||
|
||||
ifeq ($(TARGET_HAVE_HDMI_OUT),true)
|
||||
LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY
|
||||
ifeq ($(TARGET_QCOM_HDMI_OUT),true)
|
||||
LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY -DQCOM_HDMI_OUT
|
||||
endif
|
||||
ifeq ($(TARGET_USES_OVERLAY),true)
|
||||
LOCAL_CFLAGS += -DUSE_OVERLAY
|
||||
|
@ -20,6 +20,7 @@ LOCAL_C_INCLUDES += \
|
||||
LOCAL_SRC_FILES := \
|
||||
tilerenderer.cpp
|
||||
|
||||
LOCAL_CFLAGS += -DUSE_OPENGL_RENDERER -DQCOM_HARDWARE
|
||||
LOCAL_MODULE := libtilerenderer
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user