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