• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if not get_option('backend-headless')
2	subdir_done()
3endif
4
5config_h.set('BUILD_HEADLESS_COMPOSITOR', '1')
6
7srcs_headless = [
8	'headless.c',
9	presentation_time_server_protocol_h,
10]
11plugin_headless = shared_library(
12	'headless-backend',
13	srcs_headless,
14	include_directories: common_inc,
15	dependencies: [ dep_libweston_private, dep_libdrm_headers ],
16	name_prefix: '',
17	install: true,
18	install_dir: dir_module_libweston,
19)
20env_modmap += 'headless-backend.so=@0@;'.format(plugin_headless.full_path())
21install_headers(backend_headless_h, subdir: dir_include_libweston_install)
22