import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_gfx2d") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "uapi_gfx2d.c", "mpi_gfx2d_iapi_para.c", "mpi_gfx2d_api.c", ] include_dirs = [ "include", "$drv_generic_headers", "$drv_gfx2d_headers", "$drv_tde_headers", "$libuapi_gfx2d_headers", ] deps = [ "$libuapi_memory", "$libuapi_securec", ] cflags = [ "-DLOG_TAG=\"libuapi_gfx2d\"", ] public_configs = [ ":libuapi_gfx2d_config", ] } config("libuapi_gfx2d_config") { include_dirs = [ "$libuapi_gfx2d_headers" ] }