1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3include $(LOCAL_PATH)/../../../common.mk 4 5LOCAL_MODULE := libsdmutils 6LOCAL_VENDOR_MODULE := true 7LOCAL_MODULE_TAGS := optional 8LOCAL_C_INCLUDES := $(common_includes) 9LOCAL_HEADER_LIBRARIES := display_headers 10LOCAL_CFLAGS := -DLOG_TAG=\"SDM\" $(common_flags) 11LOCAL_SRC_FILES := debug.cpp \ 12 rect.cpp \ 13 sys.cpp \ 14 formats.cpp \ 15 utils.cpp 16 17LOCAL_SHARED_LIBRARIES := libdisplaydebug 18include $(BUILD_SHARED_LIBRARY) 19 20SDM_HEADER_PATH := ../../include 21include $(CLEAR_VARS) 22LOCAL_VENDOR_MODULE := true 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