2012-07-12 06:43:42 +00:00
|
|
|
#Common headers
|
|
|
|
common_includes := hardware/qcom/display/libgralloc
|
|
|
|
common_includes += hardware/qcom/display/libgenlock
|
|
|
|
common_includes += hardware/qcom/display/liboverlay
|
2012-07-19 09:33:29 +00:00
|
|
|
common_includes += hardware/qcom/display/libcopybit
|
2012-07-12 06:43:42 +00:00
|
|
|
common_includes += hardware/qcom/display/libqdutils
|
|
|
|
|
|
|
|
ifeq ($(TARGET_USES_POST_PROCESSING),true)
|
|
|
|
common_flags += -DUSES_POST_PROCESSING
|
|
|
|
common_includes += $(TARGET_OUT_HEADERS)/pp/inc
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
#Common libraries external to display HAL
|
|
|
|
common_libs := liblog libutils libcutils libhardware
|
|
|
|
|
|
|
|
#Common C flags
|
2012-07-15 04:08:13 +00:00
|
|
|
common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
|
2012-07-16 06:56:21 +00:00
|
|
|
common_flags += -Werror
|
|
|
|
|
2012-08-03 02:38:40 +00:00
|
|
|
ifeq ($(TARGET_USES_ION),true)
|
|
|
|
common_flags += -DUSE_ION
|
|
|
|
endif
|
2012-08-08 03:00:43 +00:00
|
|
|
|
2012-07-12 06:43:42 +00:00
|
|
|
ifeq ($(ARCH_ARM_HAVE_NEON),true)
|
|
|
|
common_flags += -D__ARM_HAVE_NEON
|
|
|
|
endif
|
|
|
|
|
|
|
|
common_deps :=
|
|
|
|
kernel_includes :=
|
|
|
|
#Kernel includes
|
|
|
|
ifeq ($(call is-vendor-board-platform,QCOM),true)
|
|
|
|
common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
|
|
|
kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
|
|
|
endif
|
|
|
|
|
|
|
|
|