1webrtc_sources = [ 2 'gstwebrtcdsp.cpp', 3 'gstwebrtcechoprobe.cpp' 4] 5 6webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'], 7 required : get_option('webrtcdsp')) 8 9if not gnustl_dep.found() and get_option('webrtcdsp').enabled() 10 error('webrtcdsp plugin enabled but could not find gnustl dep for Android c++ support') 11endif 12 13if webrtc_dep.found() and gnustl_dep.found() 14 gstwebrtcdsp = library('gstwebrtcdsp', 15 webrtc_sources, 16 cpp_args : gst_plugins_bad_args, 17 link_args : noseh_link_args, 18 include_directories : [configinc], 19 dependencies : [gstbase_dep, gstaudio_dep, gstbadaudio_dep, webrtc_dep, gnustl_dep], 20 install : true, 21 install_dir : plugins_install_dir, 22 override_options : ['cpp_std=c++11'], 23 ) 24 pkgconfig.generate(gstwebrtcdsp, install_dir : plugins_pkgconfig_install_dir) 25endif 26