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 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 28common_deps := 29kernel_includes := 30 31# Executed only on QCOM BSPs 32ifeq ($(call is-vendor-board-platform,QCOM),true) 33 common_flags += -DQCOM_BSP 34 common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 35 kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 36endif 37