1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_MODULE := libdrmutils 5LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 6LOCAL_LICENSE_CONDITIONS := notice 7LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../LICENSE 8LOCAL_VENDOR_MODULE := true 9LOCAL_MODULE_TAGS := optional 10LOCAL_C_INCLUDES := external/libdrm \ 11 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \ 12 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/display 13LOCAL_HEADER_LIBRARIES := display_headers 14LOCAL_SHARED_LIBRARIES := libdrm libdl libdisplaydebug 15LOCAL_CFLAGS := -DLOG_TAG=\"DRMUTILS\" -Wall -Werror -fno-operator-names 16LOCAL_CLANG := true 17LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 18LOCAL_SRC_FILES := drm_master.cpp drm_res_mgr.cpp drm_lib_loader.cpp 19LOCAL_COPY_HEADERS_TO := qcom/display 20LOCAL_COPY_HEADERS := drm_master.h drm_res_mgr.h drm_lib_loader.h drm_logger.h drm_interface.h 21 22include $(BUILD_SHARED_LIBRARY) 23