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 libraries external to display HAL 11 common_libs := liblog libutils libcutils libhardware 12 13 #Common C flags 14 common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers 15 common_flags += -Werror 16 17 ifeq ($(ARCH_ARM_HAVE_NEON),true) 18 common_flags += -D__ARM_HAVE_NEON 19 endif 20 21 ifneq ($(filter msm8974 msm8x74 msm8226 msm8x26,$(TARGET_BOARD_PLATFORM)),) 22 common_flags += -DVENUS_COLOR_FORMAT 23 common_flags += -DMDSS_TARGET 24 endif 25 26 common_deps := 27 kernel_includes := 28 29 # Executed only on QCOM BSPs 30 ifeq ($(call is-vendor-board-platform,QCOM),true) 31 common_flags += -DQCOM_BSP 32 common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 33 kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 34 endif 35