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.
44 lines
1.3 KiB
44 lines
1.3 KiB
7 months ago
|
import("//build/ohos.gni")
|
||
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
||
|
|
||
|
ohos_shared_library("libuapi_common") {
|
||
|
subsystem_name = "huanglong_sdk"
|
||
|
install_images = [
|
||
|
"vendor",
|
||
|
]
|
||
|
deps = [
|
||
|
"$sdk_dir/vendor/platform/secure_c/source:libuapi_securec",
|
||
|
"$sdk_dir/vendor/huanglong/uapi/memory/source:libuapi_memory",
|
||
|
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog",
|
||
|
]
|
||
|
output_extension = "so"
|
||
|
sources = [
|
||
|
"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 = [
|
||
|
"$sdk_dir/vendor/platform/secure_c/include",
|
||
|
"$sdk_dir/vendor/huanglong/uapi/memory/include",
|
||
|
"$sdk_dir/vendor/huanglong/uapi/common/include",
|
||
|
"$sdk_dir/vendor/huanglong/linux/include/generic",
|
||
|
"$sdk_dir/vendor/huanglong/linux/include/common",
|
||
|
"$sdk_dir/vendor/huanglong/linux/include/video",
|
||
|
"module/include",
|
||
|
"userproc/include",
|
||
|
"//base/hiviewdfx/hilog/interfaces/native/innerkits",
|
||
|
]
|
||
|
cflags = [
|
||
|
"-DLOG_TAG=libuapi_common",
|
||
|
"-DCONFIG_SOCT_LOG_SUPPORT",
|
||
|
"-DTVOS_O",
|
||
|
]
|
||
|
}
|