1#Common headers 2common_includes := hardware/qcom/display/msm8960/libgralloc 3common_includes += hardware/qcom/display/msm8960/liboverlay 4common_includes += hardware/qcom/display/msm8960/libcopybit 5common_includes += hardware/qcom/display/msm8960/libqdutils 6common_includes += hardware/qcom/display/msm8960/libhwcomposer 7common_includes += hardware/qcom/display/msm8960/libexternal 8common_includes += hardware/qcom/display/msm8960/libqservice 9 10common_header_export_path := qcom/display 11 12#Common libraries external to display HAL 13common_libs := liblog libutils libcutils libhardware 14 15#Common C flags 16common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers 17common_flags += -Werror -Wno-unused-parameter 18 19ifeq ($(ARCH_ARM_HAVE_NEON),true) 20 common_flags += -D__ARM_HAVE_NEON 21endif 22 23ifneq ($(filter msm8974 msm8x74 msm8226 msm8x26,$(TARGET_BOARD_PLATFORM)),) 24 common_flags += -DVENUS_COLOR_FORMAT 25 common_flags += -DMDSS_TARGET 26endif 27 28ifeq ($(DISPLAY_DEBUG_SWAPINTERVAL),true) 29 common_flags += -DDEBUG_SWAPINTERVAL 30endif 31 32common_deps := 33kernel_includes := 34 35# Executed only on QCOM BSPs 36ifeq ($(call is-vendor-board-platform,QCOM),true) 37 common_flags += -DQCOM_BSP 38 common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 39 kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 40endif 41