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.
38 lines
773 B
38 lines
773 B
4 months ago
|
import("//build/ohos.gni")
|
||
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
||
|
|
||
|
ohos_executable("sample_npu") {
|
||
|
configs = [ "$public_sdk_config" ]
|
||
|
install_enable = true
|
||
|
subsystem_name = "huanglong_sdk"
|
||
|
install_images = [
|
||
|
"vendor",
|
||
|
]
|
||
|
|
||
|
include_dirs = [
|
||
|
"$drv_generic_headers",
|
||
|
"$securec_include",
|
||
|
"$drv_common_headers",
|
||
|
"$libuapi_common_headers",
|
||
|
"$libuapi_memory",
|
||
|
"./include",
|
||
|
"../../../platform/npu/include/acl",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"$libuapi_common",
|
||
|
"$libuapi_securec",
|
||
|
"$securec_lib",
|
||
|
"$libuapi_memory",
|
||
|
"$npu_platform_group",
|
||
|
"$libslog",
|
||
|
"$npu_group",
|
||
|
]
|
||
|
|
||
|
sources = [
|
||
|
"sample_npu_main.c",
|
||
|
"sample_svp_npu/sample_npu_model.c",
|
||
|
"sample_svp_npu/sample_npu_process.c",
|
||
|
]
|
||
|
}
|