Iliyan Malchev | 202a77d | 2012-06-11 14:41:12 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
Naseer Ahmed | 4d35af8 | 2012-07-11 23:43:42 -0700 | [diff] [blame] | 2 | include $(LOCAL_PATH)/../common.mk |
Iliyan Malchev | 202a77d | 2012-06-11 14:41:12 -0700 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
Mathew Karimpanal | dec98cc | 2012-11-12 22:27:02 -0800 | [diff] [blame] | 4 | |
Naseer Ahmed | 4d35af8 | 2012-07-11 23:43:42 -0700 | [diff] [blame] | 5 | LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) |
| 6 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw |
| 7 | LOCAL_MODULE_TAGS := optional |
Ramkumar Radhakrishnan | d224a1a | 2013-04-05 17:46:55 -0700 | [diff] [blame] | 8 | LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) \ |
| 9 | $(TOP)/external/skia/include/core \ |
| 10 | $(TOP)/external/skia/include/images |
Naseer Ahmed | a163b73 | 2013-02-12 14:53:33 -0500 | [diff] [blame] | 11 | LOCAL_SHARED_LIBRARIES := $(common_libs) libEGL liboverlay \ |
Saurabh Shah | 56f610d | 2012-08-07 15:27:06 -0700 | [diff] [blame] | 12 | libexternal libqdutils libhardware_legacy \ |
Saurabh Shah | 7128e50 | 2013-02-20 13:24:48 -0800 | [diff] [blame] | 13 | libdl libmemalloc libqservice libsync \ |
Saurabh Shah | 08585b4 | 2014-04-04 17:22:56 -0700 | [diff] [blame] | 14 | libbinder libmedia libvirtual |
| 15 | |
| 16 | ifeq ($(TARGET_USES_QCOM_BSP),true) |
| 17 | LOCAL_SHARED_LIBRARIES += libskia |
| 18 | endif #TARGET_USES_QCOM_BSP |
| 19 | |
Mathew Karimpanal | dec98cc | 2012-11-12 22:27:02 -0800 | [diff] [blame] | 20 | LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdhwcomposer\" |
Naseer Ahmed | 4d35af8 | 2012-07-11 23:43:42 -0700 | [diff] [blame] | 21 | LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) |
Naseer Ahmed | 4c588a2 | 2012-07-31 19:12:17 -0700 | [diff] [blame] | 22 | LOCAL_SRC_FILES := hwc.cpp \ |
Naseer Ahmed | 4c588a2 | 2012-07-31 19:12:17 -0700 | [diff] [blame] | 23 | hwc_utils.cpp \ |
Naseer Ahmed | 4c588a2 | 2012-07-31 19:12:17 -0700 | [diff] [blame] | 24 | hwc_uevents.cpp \ |
Naseer Ahmed | ff4f025 | 2012-10-01 13:03:01 -0400 | [diff] [blame] | 25 | hwc_vsync.cpp \ |
Naseer Ahmed | 758bfc5 | 2012-11-28 17:02:08 -0500 | [diff] [blame] | 26 | hwc_fbupdate.cpp \ |
Arun Kumar K.R | 361da4f | 2012-11-28 10:42:59 -0800 | [diff] [blame] | 27 | hwc_mdpcomp.cpp \ |
Saurabh Shah | 86c1729 | 2013-02-08 15:24:13 -0800 | [diff] [blame] | 28 | hwc_copybit.cpp \ |
Ramkumar Radhakrishnan | d224a1a | 2013-04-05 17:46:55 -0700 | [diff] [blame] | 29 | hwc_qclient.cpp \ |
Saurabh Shah | a9da08f | 2013-07-03 13:27:53 -0700 | [diff] [blame] | 30 | hwc_dump_layers.cpp \ |
Ramkumar Radhakrishnan | 8bb48d3 | 2013-12-30 23:11:27 -0800 | [diff] [blame] | 31 | hwc_ad.cpp \ |
| 32 | hwc_virtual.cpp |
Iliyan Malchev | 202a77d | 2012-06-11 14:41:12 -0700 | [diff] [blame] | 33 | include $(BUILD_SHARED_LIBRARY) |