1 #Common headers 2 common_includes := hardware/qcom/display/msm8960/libgralloc 3 common_includes += hardware/qcom/display/msm8960/liboverlay 4 common_includes += hardware/qcom/display/msm8960/libcopybit 5 common_includes += hardware/qcom/display/msm8960/libqdutils 6 common_includes += hardware/qcom/display/msm8960/libhwcomposer 7 common_includes += hardware/qcom/display/msm8960/libexternal 8 common_includes += hardware/qcom/display/msm8960/libqservice 9 10 common_header_export_path := qcom/display 11 12 #Common libraries external to display HAL 13 common_libs := liblog libutils libcutils libhardware 14 15 #Common C flags 16 common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers 17 common_flags += -Werror 18 19 ifeq ($(ARCH_ARM_HAVE_NEON),true) 20 common_flags += -D__ARM_HAVE_NEON 21 endif 22 23 ifneq ($(filter msm8974 msm8x74 msm8226 msm8x26,$(TARGET_BOARD_PLATFORM)),) 24 common_flags += -DVENUS_COLOR_FORMAT 25 common_flags += -DMDSS_TARGET 26 endif 27 28 common_deps := 29 kernel_includes := 30 31 # Executed only on QCOM BSPs 32 ifeq ($(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 36 endif 37