You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
#Common headers
|
|
common_includes := hardware/qcom/display/msm8960/libgralloc
|
|
common_includes += hardware/qcom/display/msm8960/liboverlay
|
|
common_includes += hardware/qcom/display/msm8960/libcopybit
|
|
common_includes += hardware/qcom/display/msm8960/libqdutils
|
|
common_includes += hardware/qcom/display/msm8960/libhwcomposer
|
|
common_includes += hardware/qcom/display/msm8960/libexternal
|
|
common_includes += hardware/qcom/display/msm8960/libqservice
|
|
|
|
common_header_export_path := qcom/display
|
|
|
|
#Common libraries external to display HAL
|
|
common_libs := liblog libutils libcutils libhardware
|
|
|
|
#Common C flags
|
|
common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
|
|
common_flags += -Werror -Wno-unused-parameter
|
|
|
|
ifeq ($(ARCH_ARM_HAVE_NEON),true)
|
|
common_flags += -D__ARM_HAVE_NEON
|
|
endif
|
|
|
|
ifneq ($(filter msm8974 msm8x74 msm8226 msm8x26,$(TARGET_BOARD_PLATFORM)),)
|
|
common_flags += -DVENUS_COLOR_FORMAT
|
|
common_flags += -DMDSS_TARGET
|
|
endif
|
|
|
|
ifeq ($(DISPLAY_DEBUG_SWAPINTERVAL),true)
|
|
common_flags += -DDEBUG_SWAPINTERVAL
|
|
endif
|
|
|
|
common_deps :=
|
|
kernel_includes :=
|
|
|
|
# Executed only on QCOM BSPs
|
|
ifeq ($(call is-vendor-board-platform,QCOM),true)
|
|
common_flags += -DQCOM_BSP
|
|
common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
|
kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
|
endif
|