import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_i2c") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "iapi_i2c.c", "mpi_i2c.c", ] include_dirs = [ "$drv_common_headers", "$drv_generic_headers", "$drv_i2c_headers", "$libuapi_i2c_headers", ] deps = [ "$libuapi_securec", "$libuapi_common", ] cflags = [ "-DLOG_TAG=\"libuapi_i2c\"", ] public_configs = [ ":libuapi_i2c_config", ] } config("libuapi_i2c_config") { include_dirs = [ "$libuapi_i2c_headers" ] }