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.
34 lines
603 B
34 lines
603 B
import("//build/ohos.gni")
|
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
|
|
|
ohos_shared_library("libuapi_uart") {
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
|
|
output_extension = "so"
|
|
sources = [
|
|
"iapi_uart.c",
|
|
]
|
|
include_dirs = [
|
|
"$drv_common_headers",
|
|
"$drv_generic_headers",
|
|
"$libuapi_common_headers",
|
|
"$libuapi_uart_headers",
|
|
]
|
|
|
|
deps = [
|
|
"$libuapi_common",
|
|
"$libuapi_securec",
|
|
]
|
|
|
|
cflags = [
|
|
"-DLOG_TAG=libuapi_uart",
|
|
]
|
|
}
|
|
|
|
config("libuapi_uart_config") {
|
|
include_dirs = [ "$libuapi_uart_headers" ]
|
|
}
|