import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_adec") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "adec_chan.c", "adec_common.c", "adec_core.c", "adec_event.c", "adec_lock.c", "adec_pts.c", "adec_thread.c", "adec_volume.c", "mpi_adec.c", "mpi_adec_imple.c", "mpi_adec_waveform.c", "fault_check/adec_fault_check.c", "fault_check/underload_detect.c", ] include_dirs = [ "$cur_dir", "$cur_dir/fault_check", "$drv_adec_headers", "$drv_ao_headers", "$drv_audio_headers", "$drv_common_headers", "$drv_generic_headers", "$libuapi_adec_headers", "$libuapi_audio_headers", "$libuapi_media_headers", "$libuapi_hacodec_headers", ] deps = [ "$libuapi_securec", "$libuapi_common", "$libuapi_memory", "$libuapi_ao", "$libdftevent", ] cflags = [ "-DLOG_TAG=\"libuapi_adec\"", ] public_configs = [ ":libuapi_adec_config", ] } config("libuapi_adec_config") { include_dirs = [ "$libuapi_adec_headers" ] }