You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.7 KiB
40 lines
1.7 KiB
4 months ago
|
LOCAL_PATH := $(call my-dir)
|
||
|
include $(CLEAR_VARS)
|
||
|
include $(LOCAL_PATH)/../../../common.mk
|
||
|
|
||
|
LOCAL_MODULE := libsdmutils
|
||
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD
|
||
|
LOCAL_LICENSE_CONDITIONS := notice
|
||
|
LOCAL_SANITIZE := integer_overflow
|
||
|
LOCAL_VENDOR_MODULE := true
|
||
|
LOCAL_MODULE_TAGS := optional
|
||
|
LOCAL_C_INCLUDES := $(common_includes)
|
||
|
LOCAL_HEADER_LIBRARIES := display_headers
|
||
|
LOCAL_CFLAGS := -DLOG_TAG=\"SDM\" $(common_flags)
|
||
|
LOCAL_SRC_FILES := debug.cpp \
|
||
|
rect.cpp \
|
||
|
sys.cpp \
|
||
|
fence.cpp \
|
||
|
formats.cpp \
|
||
|
utils.cpp
|
||
|
|
||
|
LOCAL_SHARED_LIBRARIES := libdisplaydebug
|
||
|
include $(BUILD_SHARED_LIBRARY)
|
||
|
|
||
|
SDM_HEADER_PATH := ../../include
|
||
|
include $(CLEAR_VARS)
|
||
|
LOCAL_VENDOR_MODULE := true
|
||
|
LOCAL_COPY_HEADERS_TO := $(common_header_export_path)/sdm/utils
|
||
|
LOCAL_COPY_HEADERS = $(SDM_HEADER_PATH)/utils/constants.h \
|
||
|
$(SDM_HEADER_PATH)/utils/debug.h \
|
||
|
$(SDM_HEADER_PATH)/utils/formats.h \
|
||
|
$(SDM_HEADER_PATH)/utils/locker.h \
|
||
|
$(SDM_HEADER_PATH)/utils/rect.h \
|
||
|
$(SDM_HEADER_PATH)/utils/sys.h \
|
||
|
$(SDM_HEADER_PATH)/utils/sync_task.h \
|
||
|
$(SDM_HEADER_PATH)/utils/utils.h \
|
||
|
$(SDM_HEADER_PATH)/utils/fence.h \
|
||
|
$(SDM_HEADER_PATH)/utils/factory.h
|
||
|
|
||
|
include $(BUILD_COPY_HEADERS)
|