Home | History | Annotate | Download | only in msm8960
      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 -Wno-unused-parameter
     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 ifeq ($(DISPLAY_DEBUG_SWAPINTERVAL),true)
     29     common_flags += -DDEBUG_SWAPINTERVAL
     30 endif
     31 
     32 common_deps  :=
     33 kernel_includes :=
     34 
     35 # Executed only on QCOM BSPs
     36 ifeq ($(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
     40 endif
     41