blob: ecf5d66884c1f3b3dc38279f9a3c287a950354ce [file] [log] [blame]
Naseer Ahmed4d35af82012-07-11 23:43:42 -07001#Common headers
2common_includes := hardware/qcom/display/libgralloc
3common_includes += hardware/qcom/display/libgenlock
4common_includes += hardware/qcom/display/liboverlay
Naseer Ahmed31da0b12012-07-31 18:55:33 -07005common_includes += hardware/qcom/display/libcopybit
Naseer Ahmed4d35af82012-07-11 23:43:42 -07006common_includes += hardware/qcom/display/libqdutils
7
8ifeq ($(TARGET_USES_POST_PROCESSING),true)
9 common_flags += -DUSES_POST_PROCESSING
10 common_includes += $(TARGET_OUT_HEADERS)/pp/inc
11endif
12
13
14#Common libraries external to display HAL
15common_libs := liblog libutils libcutils libhardware
16
17#Common C flags
Naseer Ahmed01d3fd32012-07-14 21:08:13 -070018common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
Naseer Ahmedb16edac2012-07-15 23:56:21 -070019common_flags += -Werror
20
Naseer Ahmed4d35af82012-07-11 23:43:42 -070021ifeq ($(ARCH_ARM_HAVE_NEON),true)
22 common_flags += -D__ARM_HAVE_NEON
23endif
24
25common_deps :=
26kernel_includes :=
27#Kernel includes
28ifeq ($(call is-vendor-board-platform,QCOM),true)
29 common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
30 kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
31endif
32
33