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
717 B

import("//build/ohos.gni")
import("//vendor/${product_company}/${product_name}/product.gni")
ohos_shared_library("libdrv_aicpu") {
configs = [ "$public_sdk_config" ]
subsystem_name = "huanglong_sdk"
install_images = [
"vendor",
]
output_extension = "so"
sources = [
"aicpu_api.c",
]
include_dirs = [
"$libuapi_npu_headers",
"$libuapi_npu_source_headers",
"$drv_generic_headers",
"$drv_npu_headers",
"$libuapi_npu_acl_headers",
"$libuapi_slog_headers",
"$libuapi_npu_devmm_headers",
"../device/devmm/dev_inc/",
]
deps = [
"$libuapi_securec",
"$libuapi_common",
"$libdrvdevdrv",
"$libslog"
]
cflags = [
"-DLOG_TAG=\"aicpu\"",
]
}