• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#Common headers
2common_includes := hardware/qcom/display/libgralloc
3common_includes += hardware/qcom/display/liboverlay
4common_includes += hardware/qcom/display/libcopybit
5common_includes += hardware/qcom/display/libqdutils
6common_includes += hardware/qcom/display/libhwcomposer
7common_includes += hardware/qcom/display/libexternal
8common_includes += hardware/qcom/display/libqservice
9
10#Common libraries external to display HAL
11common_libs := liblog libutils libcutils libhardware
12
13#Common C flags
14common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
15common_flags += -Werror
16
17ifeq ($(ARCH_ARM_HAVE_NEON),true)
18    common_flags += -D__ARM_HAVE_NEON
19endif
20
21ifneq ($(filter msm8974 msm8x74 msm8226 msm8x26,$(TARGET_BOARD_PLATFORM)),)
22    # TODO: This define makes us pick a few inline functions
23    # from the kernel header media/msm_media_info.h. However,
24    # the bionic clean_headers utility scrubs them out.
25    # Figure out a way to import those macros correctly
26    # common_flags += -DVENUS_COLOR_FORMAT
27    common_flags += -DMDSS_TARGET
28endif
29
30common_deps  :=
31kernel_includes :=
32
33# Executed only on QCOM BSPs
34ifeq ($(call is-vendor-board-platform,QCOM),true)
35    common_flags += -DQCOM_BSP
36    common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
37    kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
38endif
39