1 LOCAL_PATH := $(call my-dir) 2 include $(LOCAL_PATH)/../common.mk 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) 6 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 7 LOCAL_MODULE_TAGS := optional 8 LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) \ 9 $(TOP)/external/skia/include/core \ 10 $(TOP)/external/skia/include/images 11 LOCAL_SHARED_LIBRARIES := $(common_libs) libEGL liboverlay \ 12 libexternal libqdutils libhardware_legacy \ 13 libdl libmemalloc libqservice libsync \ 14 libbinder libmedia libvirtual 15 16 ifeq ($(TARGET_USES_QCOM_BSP),true) 17 LOCAL_SHARED_LIBRARIES += libskia 18 endif #TARGET_USES_QCOM_BSP 19 20 LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdhwcomposer\" 21 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 22 LOCAL_SRC_FILES := hwc.cpp \ 23 hwc_utils.cpp \ 24 hwc_uevents.cpp \ 25 hwc_vsync.cpp \ 26 hwc_fbupdate.cpp \ 27 hwc_mdpcomp.cpp \ 28 hwc_copybit.cpp \ 29 hwc_qclient.cpp \ 30 hwc_dump_layers.cpp \ 31 hwc_ad.cpp \ 32 hwc_virtual.cpp 33 include $(BUILD_SHARED_LIBRARY) 34