meson: d3d11: Fix build with GIR enabled

... and remove unused list

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2870>
This commit is contained in:
Seungha Yang 2022-08-12 22:05:36 +09:00 committed by GStreamer Marge Bot
parent b0533d1ea0
commit 7c842d9247

View file

@ -20,16 +20,6 @@ d3d11_headers = [
'gstd3d11utils.h',
]
d3d11_enum_types_headers = [
'gstd3d11_fwd.h',
'gstd3d11bufferpool.h',
'gstd3d11converter.h',
'gstd3d11device.h',
'gstd3d11format.h',
'gstd3d11memory.h',
'gstd3d11utils.h',
]
gstd3d11_dep = dependency('', required : false)
if host_system != 'windows'
@ -208,7 +198,7 @@ library_def = {'lib': gstd3d11}
if build_gir
gir_includes = ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0']
gir = {
'sources' : d3d11_sources + d3d11_headers + [gstd3d11_h],
'sources' : d3d11_sources + d3d11_headers,
'namespace' : 'GstD3D11',
'nsversion' : api_version,
'identifier_prefix' : 'Gst',