2012-07-11 23:43:42 -07:00
|
|
|
#Common headers
|
|
|
|
common_includes := hardware/qcom/display/libgralloc
|
|
|
|
common_includes += hardware/qcom/display/libgenlock
|
|
|
|
common_includes += hardware/qcom/display/liboverlay
|
2012-07-19 15:03:29 +05:30
|
|
|
common_includes += hardware/qcom/display/libcopybit
|
2012-07-11 23:43:42 -07: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-14 21:08:13 -07:00
|
|
|
common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
|
2012-08-09 01:09:14 -05:00
|
|
|
#common_flags += -Werror
|
2012-07-15 23:56:21 -07:00
|
|
|
|
2012-08-02 21:38:40 -05:00
|
|
|
ifeq ($(TARGET_USES_ION),true)
|
|
|
|
common_flags += -DUSE_ION
|
|
|
|
endif
|
2012-08-07 22:00:43 -05:00
|
|
|
|
2012-07-11 23:43:42 -07:00
|
|
|
ifeq ($(ARCH_ARM_HAVE_NEON),true)
|
|
|
|
common_flags += -D__ARM_HAVE_NEON
|
|
|
|
endif
|
|
|
|
|
2012-08-07 19:56:31 -07:00
|
|
|
ifeq ($(TARGET_NO_HW_VSYNC),true)
|
|
|
|
common_flags += -DNO_HW_VSYNC
|
2012-07-11 23:43:42 -07:00
|
|
|
endif
|