1 LOCAL_PATH := $(call my-dir) 2 include $(CLEAR_VARS) 3 include $(LOCAL_PATH)/../../../common.mk 4 5 LOCAL_MODULE := libsdmcore 6 LOCAL_MODULE_TAGS := optional 7 LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes) 8 LOCAL_CFLAGS := -Wno-unused-parameter -DLOG_TAG=\"SDM\" $(common_flags) 9 LOCAL_HW_INTF_PATH := fb 10 LOCAL_SHARED_LIBRARIES := libdl libsdmutils 11 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) $(kernel_deps) 12 LOCAL_SRC_FILES := core_interface.cpp \ 13 core_impl.cpp \ 14 display_base.cpp \ 15 display_primary.cpp \ 16 display_hdmi.cpp \ 17 display_virtual.cpp \ 18 comp_manager.cpp \ 19 strategy.cpp \ 20 resource_default.cpp \ 21 dump_impl.cpp \ 22 color_manager.cpp \ 23 $(LOCAL_HW_INTF_PATH)/hw_info.cpp \ 24 $(LOCAL_HW_INTF_PATH)/hw_device.cpp \ 25 $(LOCAL_HW_INTF_PATH)/hw_primary.cpp \ 26 $(LOCAL_HW_INTF_PATH)/hw_hdmi.cpp \ 27 $(LOCAL_HW_INTF_PATH)/hw_virtual.cpp \ 28 $(LOCAL_HW_INTF_PATH)/hw_color_manager.cpp \ 29 $(LOCAL_HW_INTF_PATH)/hw_scale.cpp \ 30 $(LOCAL_HW_INTF_PATH)/hw_events.cpp 31 32 include $(BUILD_SHARED_LIBRARY) 33 34 SDM_HEADER_PATH := ../../include 35 include $(CLEAR_VARS) 36 LOCAL_COPY_HEADERS_TO := $(common_header_export_path)/sdm/core 37 LOCAL_COPY_HEADERS = $(SDM_HEADER_PATH)/core/buffer_allocator.h \ 38 $(SDM_HEADER_PATH)/core/buffer_sync_handler.h \ 39 $(SDM_HEADER_PATH)/core/core_interface.h \ 40 $(SDM_HEADER_PATH)/core/debug_interface.h \ 41 $(SDM_HEADER_PATH)/core/display_interface.h \ 42 $(SDM_HEADER_PATH)/core/dump_interface.h \ 43 $(SDM_HEADER_PATH)/core/layer_buffer.h \ 44 $(SDM_HEADER_PATH)/core/layer_stack.h \ 45 $(SDM_HEADER_PATH)/core/sdm_types.h 46 include $(BUILD_COPY_HEADERS) 47 48 include $(CLEAR_VARS) 49 LOCAL_COPY_HEADERS_TO := $(common_header_export_path)/sdm/private 50 LOCAL_COPY_HEADERS = $(SDM_HEADER_PATH)/private/color_interface.h \ 51 $(SDM_HEADER_PATH)/private/color_params.h \ 52 $(SDM_HEADER_PATH)/private/extension_interface.h \ 53 $(SDM_HEADER_PATH)/private/hw_info_types.h \ 54 $(SDM_HEADER_PATH)/private/partial_update_interface.h \ 55 $(SDM_HEADER_PATH)/private/resource_interface.h \ 56 $(SDM_HEADER_PATH)/private/rotator_interface.h \ 57 $(SDM_HEADER_PATH)/private/strategy_interface.h 58 include $(BUILD_COPY_HEADERS) 59