import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_flash") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "cmdline_parts.c", "common.c", "emmc_raw.c", "flash_ext.c", "mpi_flash.c", "nand.c", "nand_raw.c", "spi_raw.c", "ufs_raw.c", ] include_dirs = [ "include", "$drv_generic_headers", "$libuapi_flash_headers", ] deps = [ "$libuapi_common", "$libuapi_securec", ] cflags = [ "-DLOG_TAG=\"libuapi_flash\"", ] public_configs = [ ":libuapi_flash_config", ] } config("libuapi_flash_config") { include_dirs = [ "$libuapi_flash_headers" ] }