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