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.

70 lines
1.8 KiB

cc_library_shared {
name: "libuapi_vdec",
proprietary: true,
compile_multilib: "both",
srcs: [
"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: [
"vendor/platform/secure_c/include",
],
local_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",
],
header_libs: [
"drv_common_headers",
"drv_generic_headers",
"drv_vdec_headers",
"drv_video_headers",
"libuapi_vdec_headers",
"libuapi_generic_headers",
"libuapi_media_headers",
"libuapi_video_headers",
],
export_header_lib_headers: [
"libuapi_vdec_headers",
],
shared_libs: [
"libuapi_securec",
"libuapi_common",
"libuapi_memory",
"libuapi_jpgd",
],
cflags: [
"-DLOG_TAG=\"libuapi_vdec\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-DEXT_VDEC_MJPEG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
clang: true,
}