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_SHARED_LIBRARIES := libdrm libdl 12LOCAL_CFLAGS := -DLOG_TAG=\"DRMUTILS\" -Wall -std=c++11 -Werror -fno-operator-names 13LOCAL_CLANG := true 14LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 15LOCAL_SRC_FILES := drm_master.cpp drm_res_mgr.cpp drm_lib_loader.cpp 16LOCAL_COPY_HEADERS_TO := qcom/display 17LOCAL_COPY_HEADERS := drm_master.h drm_res_mgr.h drm_lib_loader.h drm_logger.h drm_interface.h 18 19include $(BUILD_SHARED_LIBRARY) 20