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.
68 lines
1.2 KiB
68 lines
1.2 KiB
import("//build/ohos.gni")
|
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
|
|
|
ohos_shared_library("libuapi_pq") {
|
|
configs = [ "$public_sdk_config" ]
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
output_extension = "so"
|
|
|
|
sources = [
|
|
"pq_master/iapi_pq.c",
|
|
"pq_master/mpi_pq.c",
|
|
]
|
|
|
|
include_dirs = [
|
|
"$drv_common_headers",
|
|
"$drv_generic_headers",
|
|
"$drv_memc_headers",
|
|
"$drv_pq_headers",
|
|
"$drv_video_headers",
|
|
"$drv_vo_headers",
|
|
"$libuapi_pq_headers",
|
|
"$libuapi_video_headers",
|
|
]
|
|
|
|
deps = [
|
|
"$libuapi_securec",
|
|
"$libuapi_common",
|
|
"$libuapi_memory",
|
|
"$libuapi_vo",
|
|
":libuapi_pqhdr",
|
|
]
|
|
|
|
cflags = [
|
|
"-DLOG_TAG=\"libuapi_pq\"",
|
|
]
|
|
|
|
public_configs = [
|
|
":libuapi_pq_config",
|
|
]
|
|
}
|
|
|
|
config("libuapi_pq_config") {
|
|
include_dirs = [ "$libuapi_pq_headers" ]
|
|
}
|
|
|
|
ohos_prebuilt_shared_library("libuapi_pqhdr") {
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
source = "$libuapi_pqhdr"
|
|
|
|
public_configs = [
|
|
":libuapi_pqhdr_config",
|
|
]
|
|
}
|
|
|
|
pqhdr_dir = rebase_path("$libuapi_pqhdr_dir")
|
|
config("libuapi_pqhdr_config") {
|
|
ldflags = [
|
|
"-L$pqhdr_dir",
|
|
"-luapi_pqhdr",
|
|
]
|
|
}
|