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