blob: 99dfbdffe34fc8710e0230ac4a9a469a7f299a3e [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
5common_includes += hardware/qcom/display/libqdutils
6
7ifeq ($(TARGET_USES_POST_PROCESSING),true)
8 common_flags += -DUSES_POST_PROCESSING
9 common_includes += $(TARGET_OUT_HEADERS)/pp/inc
10endif
11
12
13#Common libraries external to display HAL
14common_libs := liblog libutils libcutils libhardware
15
16#Common C flags
Naseer Ahmed01d3fd32012-07-14 21:08:13 -070017common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
Naseer Ahmedb16edac2012-07-15 23:56:21 -070018common_flags += -Werror
19
Naseer Ahmed4d35af82012-07-11 23:43:42 -070020ifeq ($(ARCH_ARM_HAVE_NEON),true)
21 common_flags += -D__ARM_HAVE_NEON
22endif
23
24common_deps :=
25kernel_includes :=
26#Kernel includes
27ifeq ($(call is-vendor-board-platform,QCOM),true)
28 common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
29 kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
30endif
31
32