mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
This just moves gl-borders up to libweston weston_renderer as-is, with no change in functionality. This is a preparation step so that other renderers can use the same interface. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
27 lines
661 B
Meson
27 lines
661 B
Meson
if not get_option('backend-headless')
|
|
subdir_done()
|
|
endif
|
|
|
|
config_h.set('BUILD_HEADLESS_COMPOSITOR', '1')
|
|
|
|
srcs_headless = [
|
|
'headless.c',
|
|
presentation_time_server_protocol_h,
|
|
]
|
|
plugin_headless = shared_library(
|
|
'headless-backend',
|
|
srcs_headless,
|
|
include_directories: common_inc,
|
|
dependencies: [
|
|
dep_egl, # for gl-renderer.h
|
|
dep_libweston_private,
|
|
dep_libdrm_headers,
|
|
dep_lib_cairo_shared,
|
|
dep_lib_renderer_borders,
|
|
],
|
|
name_prefix: '',
|
|
install: true,
|
|
install_dir: dir_module_libweston,
|
|
)
|
|
env_modmap += 'headless-backend.so=@0@;'.format(plugin_headless.full_path())
|
|
install_headers(backend_headless_h, subdir: dir_include_libweston_install)
|