build: Exclude private headers from GIR

They contain API that is explicitly not meant to be used externally
and - as it uses the "wrong" namespace due to the _ prefix - doesn't
end up in the introspection data anyway.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/709
This commit is contained in:
Florian Müllner 2019-09-10 15:51:38 +02:00 committed by Florian Müllner
parent d16094774b
commit 32d5744014

View File

@ -93,7 +93,7 @@ st_enums = gnome.mkenums_simple('st-enum-types',
#endif''' #endif'''
) )
st_gir_sources = st_sources + st_private_headers + st_headers + st_enums st_gir_sources = st_sources + st_headers + st_enums
data_to_c = find_program(meson.source_root() + '/src/data-to-c.pl') data_to_c = find_program(meson.source_root() + '/src/data-to-c.pl')