import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_klad") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "iapi_klad.c", "mpi_klad_bitmap.c", "mpi_klad.c", "mpi_klad_func.c", "mpi_klad_mgmt.c", "mpi_klad_msg_queue.c", "mpi_klad_syscall.c", "mpi_klad_utils.c", ] include_dirs = [ "$drv_cipher_headers", "$drv_demux_headers", "$drv_generic_headers", "$drv_klad_headers", "$libuapi_klad_headers", "$libuapi_generic_headers", ] deps = [ "$libuapi_securec", "$libuapi_common", "$libuapi_memory", "$libuapi_demux", "$libuapi_cipher", ] cflags = [ "-DLOG_TAG=\"libuapi_klad\"", ] public_configs = [ ":libuapi_klad_config", ] } config("libuapi_klad_config") { include_dirs = [ "$libuapi_klad_headers" ] }