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.
42 lines
747 B
42 lines
747 B
import("//build/ohos.gni")
|
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
|
|
|
ohos_shared_library("libdrv_dfx") {
|
|
configs = [ "$public_sdk_config" ]
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
output_extension = "so"
|
|
|
|
sources = [
|
|
"profile_drv_user.c",
|
|
]
|
|
|
|
include_dirs = [
|
|
"$libuapi_npu_headers",
|
|
"$libuapi_npu_source_headers",
|
|
"$drv_generic_headers",
|
|
"$drv_npu_headers",
|
|
"$libuapi_npu_acl_headers",
|
|
"$libuapi_slog_headers",
|
|
]
|
|
|
|
deps = [
|
|
"$libuapi_securec",
|
|
"$libuapi_common",
|
|
"$libslog",
|
|
]
|
|
|
|
cflags = [
|
|
"-DLOG_TAG=\"dfx\"",
|
|
"-Werror",
|
|
"-Wextra",
|
|
"-Wshadow",
|
|
"-Wformat=2",
|
|
"-Wdate-time",
|
|
"-Wfloat-equal",
|
|
"-fno-common",
|
|
]
|
|
}
|