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.
67 lines
1.3 KiB
67 lines
1.3 KiB
7 months ago
|
import("//build/ohos.gni")
|
||
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
||
|
|
||
|
ohos_shared_library("libuapi_frontend") {
|
||
|
configs = [ "$public_sdk_config" ]
|
||
|
subsystem_name = "huanglong_sdk"
|
||
|
install_images = [
|
||
|
"vendor",
|
||
|
]
|
||
|
output_extension = "so"
|
||
|
|
||
|
sources = [
|
||
|
"iapi_atv.c",
|
||
|
"iapi_cab.c",
|
||
|
"iapi_diseqc.c",
|
||
|
"iapi_frontend.c",
|
||
|
"iapi_sat.c",
|
||
|
"iapi_ter.c",
|
||
|
"iapi_unicable2.c",
|
||
|
"iapi_unicable.c",
|
||
|
"mpi_atv.c",
|
||
|
"mpi_diseqc.c",
|
||
|
"mpi_frontend.c",
|
||
|
"mpi_sat.c",
|
||
|
"mpi_ter.c",
|
||
|
"mpi_unicable.c",
|
||
|
]
|
||
|
|
||
|
include_dirs = [
|
||
|
"$drv_common_headers",
|
||
|
"$drv_frontend_headers",
|
||
|
"$drv_generic_headers",
|
||
|
"$libuapi_frontend_headers",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"$libuapi_common",
|
||
|
"$libuapi_securec",
|
||
|
"$libuapi_memory",
|
||
|
":frontend_config.ini",
|
||
|
]
|
||
|
|
||
|
cflags = [
|
||
|
"-DLOG_TAG=\"libuapi_frontend\"",
|
||
|
]
|
||
|
|
||
|
public_configs = [
|
||
|
":libuapi_frontend_config",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
config("libuapi_frontend_config") {
|
||
|
include_dirs = [ "$libuapi_frontend_headers" ]
|
||
|
}
|
||
|
|
||
|
ohos_prebuilt_etc("frontend_config.ini") {
|
||
|
install_enable = true
|
||
|
subsystem_name = "huanglong_sdk"
|
||
|
install_images = [
|
||
|
"system",
|
||
|
]
|
||
|
|
||
|
source = "cfg/frontend_config.reserved13.dma.stb8kqam.ini"
|
||
|
output = "frontend_config.ini"
|
||
|
module_install_dir = "lib"
|
||
|
}
|