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.
42 lines
725 B
42 lines
725 B
import("//build/ohos.gni")
|
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
|
|
|
ohos_shared_library("libuapi_so") {
|
|
configs = [ "$public_sdk_config" ]
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
output_extension = "so"
|
|
|
|
sources = [
|
|
"so_queue.c",
|
|
"uapi_so.c",
|
|
]
|
|
|
|
include_dirs = [
|
|
"$drv_generic_headers",
|
|
"$libuapi_so_headers",
|
|
"$libuapi_generic_headers",
|
|
"$libuapi_media_headers",
|
|
]
|
|
|
|
deps = [
|
|
"$libuapi_securec",
|
|
"$libuapi_common",
|
|
"$libdftevent",
|
|
]
|
|
|
|
cflags = [
|
|
"-DLOG_TAG=\"libuapi_so\"",
|
|
]
|
|
|
|
public_configs = [
|
|
":libuapi_so_config",
|
|
]
|
|
}
|
|
|
|
config("libuapi_so_config") {
|
|
include_dirs = [ "$libuapi_so_headers" ]
|
|
}
|