import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_jpgd") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "jpgd/src/uapi_jpeg_api.c", "jpgd/src/mpi_jpeg_ext.c", "jpgd/src/src_comm/mpi_jpeg_debug.c", "jpgd/src/src_comm/mpi_jpeg_exif.c", "jpgd/src/src_comm/mpi_jpeg_mem.c", "jpgd/src/src_comm/mpi_jpeg_resolution.c", "jpgd/src/src_hard/mpi_jpeg_comm.c", "jpgd/src/src_hard/mpi_jpeg_handle.c", "jpgd/src/src_hard/mpi_jpeg_hdec.c", "jpgd/src/src_hard/mpi_jpeg_parse.c", "jpgd/src/src_hard/mpi_jpeg_reg.c", "jpgd/src/src_hard/mpi_jpeg_table.c", ] include_dirs = [ "jpgd/include", "jpgd/include/inc_comm", "jpgd/include/inc_hard", "jpgd/include/inc_soft", "$drv_generic_headers", "$drv_jpgd_headers", "$libuapi_jpgd_headers", "$libuapi_gfx2d_headers", ] deps = [ "$libuapi_memory", "$libuapi_common", "$libuapi_securec", "$libuapi_gfx2d", ] cflags = [ "-DLOG_TAG=\"libuapi_jpgd\"", ] public_configs = [ ":libuapi_jpgd_config", ] } config("libuapi_jpgd_config") { include_dirs = [ "$libuapi_jpgd_headers" ] }