1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3include $(LOCAL_PATH)/../../../common.mk 4 5LOCAL_MODULE := libsdmutils 6LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 7LOCAL_LICENSE_CONDITIONS := notice 8LOCAL_VENDOR_MODULE := true 9LOCAL_MODULE_TAGS := optional 10LOCAL_C_INCLUDES := $(common_includes) 11LOCAL_HEADER_LIBRARIES := display_headers 12LOCAL_CFLAGS := -DLOG_TAG=\"SDM\" $(common_flags) 13LOCAL_SRC_FILES := debug.cpp \ 14 rect.cpp \ 15 sys.cpp \ 16 formats.cpp \ 17 utils.cpp 18 19LOCAL_SHARED_LIBRARIES := libdisplaydebug 20include $(BUILD_SHARED_LIBRARY) 21 22SDM_HEADER_PATH := ../../include 23include $(CLEAR_VARS) 24LOCAL_VENDOR_MODULE := true 25LOCAL_COPY_HEADERS_TO := $(common_header_export_path)/sdm/utils 26LOCAL_COPY_HEADERS = $(SDM_HEADER_PATH)/utils/constants.h \ 27 $(SDM_HEADER_PATH)/utils/debug.h \ 28 $(SDM_HEADER_PATH)/utils/formats.h \ 29 $(SDM_HEADER_PATH)/utils/locker.h \ 30 $(SDM_HEADER_PATH)/utils/rect.h \ 31 $(SDM_HEADER_PATH)/utils/sys.h \ 32 $(SDM_HEADER_PATH)/utils/sync_task.h \ 33 $(SDM_HEADER_PATH)/utils/utils.h \ 34 $(SDM_HEADER_PATH)/utils/factory.h 35 36include $(BUILD_COPY_HEADERS) 37