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.

58 lines
1.2 KiB

cc_library_shared {
name: "libuapi_common",
proprietary: true,
compile_multilib: "both",
srcs: [
"log/iapi_log.c",
"log/mpi_log.c",
"sys/iapi_system.c",
"sys/mpi_system.c",
"module/iapi_module.c",
"module/mpi_module.c",
"userproc/iapi_user_proc.c",
"userproc/mpi_user_proc.c",
"policy/mpi_policy.c",
"policy/iapi_policy.c",
],
include_dirs: [
"vendor/platform/secure_c/include",
],
local_include_dirs: [
"module/include",
"userproc/include",
],
header_libs: [
"drv_common_headers",
"drv_video_headers",
"drv_generic_headers",
"libuapi_common_headers",
"libuapi_video_headers",
],
export_header_lib_headers: [
"libuapi_common_headers",
],
shared_libs: [
"liblog",
"libuapi_memory",
"libuapi_securec",
],
cflags: [
"-DLOG_TAG=\"libuapi_common\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-fno-common",
"-Wno-unused",
"-Wpointer-arith",
"-Wno-unused-parameter",
],
clang: true,
}