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.

74 lines
1.5 KiB

import("//build/ohos.gni")
import("//vendor/${product_company}/${product_name}/product.gni")
ohos_shared_library("libuapi_avplay") {
configs = [ "$public_sdk_config" ]
subsystem_name = "huanglong_sdk"
install_images = [
"vendor",
]
output_extension = "so"
sources = [
"iapi_avplay.c",
"mpi_avplay.c",
"avplay_control.c",
"avplay_loop.c",
"avplay_context.c",
"avplay_buffer.c",
"avplay_adapter.c",
"avplay_config.c",
"avplay_debugger.c",
"avplay_hal.c",
"avplay_common.c",
"sync/mpi_sync.c",
"avplay_fc.c",
]
include_dirs = [
"$drv_adec_headers",
"$drv_ao_headers",
"$drv_audio_headers",
"$drv_avplay_headers",
"$drv_common_headers",
"$drv_demux_headers",
"$drv_generic_headers",
"$drv_memc_headers",
"$drv_ssm_headers",
"$drv_stat_headers",
"$drv_vdec_headers",
"$drv_video_headers",
"$drv_vo_headers",
"$libuapi_avplay_headers",
"$libuapi_audio_headers",
"$libuapi_media_headers",
"$libuapi_video_headers",
]
deps = [
"$libuapi_securec",
"$libuapi_common",
"$libuapi_memory",
"$libuapi_vdec",
"$libuapi_adec",
"$libuapi_vo",
"$libuapi_ao",
"$libuapi_demux",
"$libuapi_stat",
"$libuapi_ssm",
"$libdftevent",
]
cflags = [
"-DLOG_TAG=\"libuapi_avplay\"",
]
public_configs = [
":libuapi_avplay_config",
]
}
config("libuapi_avplay_config") {
include_dirs = [ "$libuapi_avplay_headers" ]
}