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_MODULE_RELATIVE_PATH := hw 10LOCAL_PROPRIETARY_MODULE := true 11LOCAL_MODULE_TAGS := optional 12LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) \ 13 $(TOP)/external/skia/include/core \ 14 $(TOP)/external/skia/include/images 15LOCAL_SHARED_LIBRARIES := $(common_libs) libEGL liboverlay \ 16 libhdmi libqdutils libhardware_legacy \ 17 libdl libmemalloc libqservice libsync \ 18 libbinder libmedia 19 20ifeq ($(TARGET_USES_QCOM_BSP),true) 21LOCAL_SHARED_LIBRARIES += libskia 22endif #TARGET_USES_QCOM_BSP 23 24LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdhwcomposer\" \ 25 -std=c++11 26#Enable Dynamic FPS if PHASE_OFFSET is not set 27ifeq ($(VSYNC_EVENT_PHASE_OFFSET_NS),) 28 LOCAL_CFLAGS += -DDYNAMIC_FPS 29endif 30 31LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 32LOCAL_SRC_FILES := hwc.cpp \ 33 hwc_utils.cpp \ 34 hwc_uevents.cpp \ 35 hwc_vsync.cpp \ 36 hwc_fbupdate.cpp \ 37 hwc_mdpcomp.cpp \ 38 hwc_copybit.cpp \ 39 hwc_qclient.cpp \ 40 hwc_dump_layers.cpp \ 41 hwc_ad.cpp \ 42 hwc_virtual.cpp 43include $(BUILD_SHARED_LIBRARY) 44