1 LOCAL_PATH := $(call my-dir) 2 include $(LOCAL_PATH)/../common.mk 3 include $(CLEAR_VARS) 4 5 # b/24171136 many files not compiling with clang/llvm yet 6 LOCAL_CLANG := false 7 8 LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) 9 LOCAL_MODULE_RELATIVE_PATH := hw 10 LOCAL_PROPRIETARY_MODULE := true 11 LOCAL_MODULE_TAGS := optional 12 LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) \ 13 $(TOP)/external/skia/include/core \ 14 $(TOP)/external/skia/include/images 15 LOCAL_SHARED_LIBRARIES := $(common_libs) libEGL liboverlay \ 16 libhdmi libqdutils libhardware_legacy \ 17 libdl libmemalloc libqservice libsync \ 18 libbinder libmedia 19 20 ifeq ($(TARGET_USES_QCOM_BSP),true) 21 LOCAL_SHARED_LIBRARIES += libskia 22 endif #TARGET_USES_QCOM_BSP 23 24 LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdhwcomposer\" \ 25 -std=c++11 26 #Enable Dynamic FPS if PHASE_OFFSET is not set 27 ifeq ($(VSYNC_EVENT_PHASE_OFFSET_NS),) 28 LOCAL_CFLAGS += -DDYNAMIC_FPS 29 endif 30 31 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 32 LOCAL_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 43 include $(BUILD_SHARED_LIBRARY) 44