forked from AuroraMiddleware/gtk
Merge branch 'gsk-public-symbols' into 'master'
Install all headers with public symbols Closes #2607 See merge request GNOME/gtk!1666
This commit is contained in:
commit
e072d9b28b
@ -60,7 +60,6 @@ gsk_public_headers = files([
|
||||
])
|
||||
install_headers(gsk_public_headers, 'gsk.h', subdir: 'gtk-4.0/gsk')
|
||||
|
||||
|
||||
gsk_public_gl_headers = files([
|
||||
'gl/gskglrenderer.h'
|
||||
])
|
||||
@ -70,20 +69,14 @@ gsk_public_headers += gsk_public_gl_headers
|
||||
gsk_public_broadway_headers = files([
|
||||
'broadway/gskbroadwayrenderer.h'
|
||||
])
|
||||
|
||||
if get_variable('broadway_enabled')
|
||||
install_headers(gsk_public_broadway_headers, subdir: 'gtk-4.0/gsk/broadway')
|
||||
gsk_public_headers += gsk_public_broadway_headers
|
||||
endif
|
||||
install_headers(gsk_public_broadway_headers, subdir: 'gtk-4.0/gsk/broadway')
|
||||
gsk_public_headers += gsk_public_broadway_headers
|
||||
|
||||
gsk_public_vulkan_headers = files([
|
||||
'vulkan/gskvulkanrenderer.h'
|
||||
])
|
||||
|
||||
if have_vulkan
|
||||
install_headers(gsk_public_vulkan_headers, subdir: 'gtk-4.0/gsk/vulkan')
|
||||
gsk_public_headers += gsk_public_vulkan_headers
|
||||
endif
|
||||
install_headers(gsk_public_vulkan_headers, subdir: 'gtk-4.0/gsk/vulkan')
|
||||
gsk_public_headers += gsk_public_vulkan_headers
|
||||
|
||||
gsk_private_vulkan_shaders = []
|
||||
# This is an odd split because we use configure_file() below to workaround
|
||||
|
@ -59,7 +59,7 @@ for f in funcs:
|
||||
file_output += ['#ifdef GDK_WINDOWING_X11']
|
||||
file_output += ['*tp++ = {0}();'.format(f)]
|
||||
file_output += ['#endif']
|
||||
elif f.startswith('gdk_broadway'):
|
||||
elif f.startswith('gdk_broadway') or f.startswith('gsk_broadway'):
|
||||
file_output += ['#ifdef GDK_WINDOWING_BROADWAY']
|
||||
file_output += ['*tp++ = {0}();'.format(f)]
|
||||
file_output += ['#endif']
|
||||
@ -75,6 +75,10 @@ for f in funcs:
|
||||
file_output += ['#ifdef GDK_WINDOWING_QUARTZ']
|
||||
file_output += ['*tp++ = {0}();'.format(f)]
|
||||
file_output += ['#endif']
|
||||
elif f.startswith('gsk_vulkan'):
|
||||
file_output += ['#ifdef GDK_RENDERING_VULKAN']
|
||||
file_output += ['*tp++ = {0}();'.format(f)]
|
||||
file_output += ['#endif']
|
||||
else:
|
||||
file_output += ['*tp++ = {0}();'.format(f)]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user