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-08-09 06:09:14 +00:00
|
|
|
#common_flags += -Werror
|
2012-07-16 06:56:21 +00:00
|
|
|
|
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
|
|
|
|
|
2012-08-08 02:56:31 +00:00
|
|
|
ifeq ($(TARGET_NO_HW_VSYNC),true)
|
|
|
|
common_flags += -DNO_HW_VSYNC
|
2012-07-12 06:43:42 +00:00
|
|
|
endif
|