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.

63 lines
1.3 KiB

cc_library_shared {
name: "libdrvdevdrv",
proprietary: true,
compile_multilib: "64",
srcs: [
"devdrv_fd.c",
"devdrv_id.c",
"devdrv_mm.c",
"devdrv_mpi.c",
"devdrv_stub.c",
"devdrv_command.c",
"devdrv_manager.c",
"devdrv_aicpufw.c",
"devmm/devmm_api_impl.c",
"devmm/devmm_virt_interface.c",
"devmm/devmm_virt_page.c",
"devmm/devmm_dfx.c",
"devmm/devmm_mpi.c",
"devmm/product/stb/devmm_hal_ion.c",
],
include_dirs: [
"vendor/platform/secure_c/include",
],
local_include_dirs: [
"devmm",
"devmm/dev_inc/",
"product/stb/arch/"
],
header_libs: [
"libuapi_npu_headers",
"libuapi_npu_source_headers",
"drv_generic_headers",
"drv_npu_headers",
"libuapi_memory_headers",
"libuapi_slog_headers",
],
export_header_lib_headers: [
"libuapi_npu_headers",
],
shared_libs: [
"libslog",
"libuapi_securec",
"libuapi_memory",
],
cflags: [
"-DLOG_TAG=\"aidevdrv\"",
"-Werror",
"-Wextra",
"-Wshadow",
"-Wformat=2",
"-Wdate-time",
"-Wfloat-equal",
"-fno-common",
],
clang: true,
}