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
978 B
52 lines
978 B
import("//build/ohos.gni")
|
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
|
|
|
ohos_shared_library("libuapi_aenc") {
|
|
configs = [ "$public_sdk_config" ]
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
output_extension = "so"
|
|
|
|
sources = [
|
|
"iapi_aenc.c",
|
|
"mpi_aenc.c",
|
|
"mpi_aenc_core.c",
|
|
"mpi_aenc_lsrc.c",
|
|
"mpi_aenc_trans.c",
|
|
]
|
|
|
|
include_dirs = [
|
|
"$cur_dir",
|
|
"$drv_aenc_headers",
|
|
"$drv_ao_headers",
|
|
"$drv_audio_headers",
|
|
"$drv_common_headers",
|
|
"$drv_generic_headers",
|
|
"$libuapi_aenc_headers",
|
|
"$libuapi_audio_headers",
|
|
"$libuapi_media_headers",
|
|
"$libuapi_hacodec_headers",
|
|
]
|
|
|
|
deps = [
|
|
"$libuapi_securec",
|
|
"$libuapi_common",
|
|
"$libuapi_memory",
|
|
"$libuapi_ao",
|
|
]
|
|
|
|
cflags = [
|
|
"-DLOG_TAG=\"libuapi_aenc\"",
|
|
]
|
|
|
|
public_configs = [
|
|
":libuapi_aenc_config",
|
|
]
|
|
}
|
|
|
|
config("libuapi_aenc_config") {
|
|
include_dirs = [ "$libuapi_aenc_headers" ]
|
|
}
|