You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.6 KiB

import("//build/ohos.gni")
import("//vendor/${product_company}/${product_name}/product.gni")
ohos_shared_library("libuapi_vdec") {
configs = [ "$public_sdk_config" ]
subsystem_name = "huanglong_sdk"
install_images = [
"vendor",
]
output_extension = "so"
sources = [
"vdec_v6.0/mpi_vdec.c",
"vdec_v6.0/decoder_store/hardware/vdec_decoder_hw.c",
"vdec_v6.0/decoder_store/vdec_hal/vdec_hal.c",
"vdec_v6.0/decoder_store/vdec_store.c",
"vdec_v6.0/platform/osal/linux/mpi_vdec_osal.c",
"vdec_v6.0/platform/sdk/stb/mpi_vdec_sdk.c",
"vdec_v6.0/decoder_store/software/vdec_decoder_sw.c",
"vdec_v6.0/decoder_store/software/vdec_sw_hal.c",
"vdec_v6.0/decoder_store/mjpeg/vdec_decoder_mjpeg.c",
"vdec_v6.0/decoder_store/mjpeg/vdec_jpeg_hal.c",
]
include_dirs = [
"vdec_v6.0",
"vdec_v6.0/decoder_store",
"vdec_v6.0/decoder_store/hardware",
"vdec_v6.0/decoder_store/mjpeg",
"vdec_v6.0/decoder_store/software",
"vdec_v6.0/decoder_store/vdec_hal",
"vdec_v6.0/platform/osal/linux",
"vdec_v6.0/platform/sdk/stb",
"$drv_common_headers",
"$drv_generic_headers",
"$drv_vdec_headers",
"$drv_video_headers",
"$libuapi_vdec_headers",
"$libuapi_generic_headers",
"$libuapi_media_headers",
"$libuapi_video_headers",
]
deps = [
"$libuapi_securec",
"$libuapi_common",
"$libuapi_memory",
"$libuapi_jpgd",
]
cflags = [
"-DLOG_TAG=\"libuapi_vdec\"",
"-DEXT_VDEC_MJPEG_SUPPORT",
]
public_configs = [
":libuapi_vdec_config",
]
}
config("libuapi_vdec_config") {
include_dirs = [ "$libuapi_vdec_headers" ]
}