| LOCAL_PATH := $(call my-dir) |
| include $(CLEAR_VARS) |
| |
| LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) |
| LOCAL_MODULE_RELATIVE_PATH := hw |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_C_INCLUDES := hardware/qcom/display/sdm/include/ \ |
| hardware/qcom/display/libqservice/ \ |
| hardware/qcom/display/libqdutils/ \ |
| hardware/qcom/display/libcopybit/ \ |
| external/libcxx/include/ |
| |
| LOCAL_CFLAGS := -Wno-missing-field-initializers -Wno-unused-parameter \ |
| -Wall -Werror -Wconversion -std=c++11 -fcolor-diagnostics\ |
| -DLOG_TAG=\"SDM\" -DDEBUG_CALC_FPS |
| LOCAL_CFLAGS += -isystem hardware/qcom/display/libgralloc |
| LOCAL_CLANG := true |
| |
| # TODO: Move this to the common makefile |
| ifeq ($(call is-board-platform-in-list, $(MASTER_SIDE_CP_TARGET_LIST)), true) |
| LOCAL_CFLAGS += -DMASTER_SIDE_CP |
| endif |
| |
| |
| ifeq ($(TARGET_USES_QCOM_BSP),true) |
| # Enable QCOM Display features |
| LOCAL_CFLAGS += -DQTI_BSP |
| endif |
| |
| LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ |
| libutils libcutils libsync libmemalloc libqdutils libdl \ |
| libpowermanager libsdmutils libc++ |
| |
| LOCAL_SRC_FILES := hwc_session.cpp \ |
| hwc_display.cpp \ |
| hwc_display_primary.cpp \ |
| hwc_display_external.cpp \ |
| hwc_display_virtual.cpp \ |
| hwc_debugger.cpp \ |
| hwc_buffer_allocator.cpp \ |
| hwc_buffer_sync_handler.cpp \ |
| hwc_color_manager.cpp \ |
| blit_engine_c2d.cpp \ |
| cpuhint.cpp |
| |
| include $(BUILD_SHARED_LIBRARY) |