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