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 19include $(BUILD_SHARED_LIBRARY) 20 21SDM_HEADER_PATH := ../../include 22include $(CLEAR_VARS) 23LOCAL_COPY_HEADERS_TO := $(common_header_export_path)/sdm/utils 24LOCAL_COPY_HEADERS = $(SDM_HEADER_PATH)/utils/constants.h \ 25 $(SDM_HEADER_PATH)/utils/debug.h \ 26 $(SDM_HEADER_PATH)/utils/formats.h \ 27 $(SDM_HEADER_PATH)/utils/locker.h \ 28 $(SDM_HEADER_PATH)/utils/rect.h \ 29 $(SDM_HEADER_PATH)/utils/sys.h \ 30 $(SDM_HEADER_PATH)/utils/sync_task.h \ 31 $(SDM_HEADER_PATH)/utils/utils.h \ 32 $(SDM_HEADER_PATH)/utils/factory.h 33 34include $(BUILD_COPY_HEADERS) 35