mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 20:12:28 +00:00
Allow disabling introspection from toplevel gst-build
https://bugzilla.gnome.org/show_bug.cgi?id=781148
This commit is contained in:
parent
af5ee95a5b
commit
c071855c48
2 changed files with 8 additions and 1 deletions
|
@ -99,7 +99,11 @@ foreach custom_subproj: get_option('custom_subprojects').split(',')
|
|||
endforeach
|
||||
|
||||
foreach subproj: subprojects
|
||||
subproject(subproj, version: gst_version)
|
||||
default_options = []
|
||||
if get_option('disable_introspection')
|
||||
default_options += ['disable_introspection=true']
|
||||
endif
|
||||
subproject(subproj, version: gst_version, default_options: default_options)
|
||||
|
||||
cmdres = run_command(python3, '-c', symlink.format(subproj, meson.current_source_dir()))
|
||||
if cmdres.returncode() == 0
|
||||
|
|
|
@ -7,4 +7,7 @@ option('disable_gst_editing_services', type : 'boolean', value : false)
|
|||
option('disable_rtsp_server', type : 'boolean', value : false)
|
||||
option('disable_gst_omx', type : 'boolean', value : true)
|
||||
option('disable_gstreamer_vaapi', type : 'boolean', value : false)
|
||||
option('disable_introspection',
|
||||
type : 'boolean', value : false,
|
||||
description : 'Whether to disable the introspection generation')
|
||||
option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names')
|
||||
|
|
Loading…
Reference in a new issue