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.
52 lines
964 B
52 lines
964 B
import("//build/ohos.gni")
|
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
|
|
|
ohos_shared_library("libuapi_ai") {
|
|
configs = [ "$public_sdk_config" ]
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
output_extension = "so"
|
|
|
|
sources = [
|
|
"mpi_ai.c",
|
|
"mpi_ai_trans.c",
|
|
"iec61937_parser.c",
|
|
"iapi_ai.c",
|
|
]
|
|
|
|
include_dirs = [
|
|
"$drv_aenc_headers",
|
|
"$drv_ai_headers",
|
|
"$drv_ao_headers",
|
|
"$drv_audio_headers",
|
|
"$drv_common_headers",
|
|
"$drv_generic_headers",
|
|
"$libuapi_ai_headers",
|
|
"$libuapi_aenc_headers",
|
|
"$libuapi_audio_headers",
|
|
"$libuapi_media_headers",
|
|
]
|
|
|
|
deps = [
|
|
"$libuapi_securec",
|
|
"$libuapi_common",
|
|
"$libuapi_memory",
|
|
"$libuapi_ao",
|
|
"$libuapi_aenc",
|
|
]
|
|
|
|
cflags = [
|
|
"-DLOG_TAG=\"libuapi_ai\"",
|
|
]
|
|
|
|
public_configs = [
|
|
":libuapi_ai_config",
|
|
]
|
|
}
|
|
|
|
config("libuapi_ai_config") {
|
|
include_dirs = [ "$libuapi_ai_headers" ]
|
|
}
|