import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_demux") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "api_demux_bitmap.c", "api_demux_utils.c", "iapi_demux.c", "iapi_descrambler.c", "mpi_demux.c", ] include_dirs = [ "$drv_common_headers", "$drv_demux_headers", "$drv_generic_headers", "$drv_ssm_headers", "$libuapi_demux_headers", "$libuapi_generic_headers", "$libuapi_media_headers", "$libuapi_video_headers", ] deps = [ "$libuapi_securec", "$libuapi_common", "$libuapi_ssm", "$libuapi_memory", ] cflags = [ "-DLOG_TAG=\"libuapi_demux\"", "-Wno-error=int-conversion", "-Wno-error=pointer-integer-compare", "-Wno-error=conditional-type-mismatch", ] public_configs = [ ":libuapi_demux_config", ] } config("libuapi_demux_config") { include_dirs = [ "$libuapi_demux_headers" ] }