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.

40 lines
699 B

import("//build/ohos.gni")
import("//vendor/${product_company}/${product_name}/product.gni")
ohos_shared_library("libuapi_spi") {
configs = [ "$public_sdk_config" ]
subsystem_name = "huanglong_sdk"
install_images = [
"vendor",
]
output_extension = "so"
sources = [
"iapi_spi.c",
"mpi_spi.c",
]
include_dirs = [
"$drv_common_headers",
"$drv_generic_headers",
"$drv_spi_headers",
"$libuapi_spi_headers",
]
deps = [
"$libuapi_securec",
"$libuapi_common",
]
cflags = [
"-DLOG_TAG=\"libuapi_spi\"",
]
public_configs = [
":libuapi_spi_config",
]
}
config("libuapi_spi_config") {
include_dirs = [ "$libuapi_spi_headers" ]
}