gstreamer/subprojects/gstreamer/data/meson.build
Xavier Claessens fa38827c44 Android: Implement JNI_OnLoad()
When building for Android, chances are that gstreamer is going to be
loaded from Java using System.loadLibrary(). In that case we can
initialize GStreamer (including static plugins), redirect log functions,
etc.

This code is copied from cerbero because it can be used with
gstreamer-full-1.0 too. Cerbero needs to be adapted to drop that code
and generate gst_init_static_plugins() function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/617>
2022-04-01 08:15:53 +00:00

13 lines
461 B
Meson

if (bashcomp_found)
subdir('bash-completion/helpers')
install_data('bash-completion/completions/gst-launch-1.0',
install_dir : bash_completions_dir,
install_tag : 'runtime')
install_data('bash-completion/completions/gst-inspect-1.0',
install_dir : bash_completions_dir,
install_tag : 'runtime')
endif
if host_system == 'android'
install_data('android/GStreamer.java', install_dir: get_option('datadir') / 'gst-android/ndk-build')
endif