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_SANITIZE := integer_overflow 9LOCAL_VENDOR_MODULE := true 10LOCAL_MODULE_TAGS := optional 11LOCAL_C_INCLUDES := $(common_includes) 12LOCAL_HEADER_LIBRARIES := display_headers 13LOCAL_CFLAGS := -DLOG_TAG=\"SDM\" $(common_flags) 14LOCAL_SRC_FILES := debug.cpp \ 15 rect.cpp \ 16 sys.cpp \ 17 fence.cpp \ 18 formats.cpp \ 19 utils.cpp 20 21LOCAL_SHARED_LIBRARIES := libdisplaydebug 22include $(BUILD_SHARED_LIBRARY) 23 24SDM_HEADER_PATH := ../../include 25include $(CLEAR_VARS) 26LOCAL_VENDOR_MODULE := true 27LOCAL_COPY_HEADERS_TO := $(common_header_export_path)/sdm/utils 28LOCAL_COPY_HEADERS = $(SDM_HEADER_PATH)/utils/constants.h \ 29 $(SDM_HEADER_PATH)/utils/debug.h \ 30 $(SDM_HEADER_PATH)/utils/formats.h \ 31 $(SDM_HEADER_PATH)/utils/locker.h \ 32 $(SDM_HEADER_PATH)/utils/rect.h \ 33 $(SDM_HEADER_PATH)/utils/sys.h \ 34 $(SDM_HEADER_PATH)/utils/sync_task.h \ 35 $(SDM_HEADER_PATH)/utils/utils.h \ 36 $(SDM_HEADER_PATH)/utils/fence.h \ 37 $(SDM_HEADER_PATH)/utils/factory.h 38 39include $(BUILD_COPY_HEADERS) 40