backend-headless: move into new subdir
For consistency with other backends. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
committed by
Daniel Stone
parent
f0f37bcaa1
commit
8059d317a5
@@ -0,0 +1,21 @@
|
|||||||
|
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: include_directories('../..', '../../shared'),
|
||||||
|
dependencies: dep_libweston,
|
||||||
|
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)
|
||||||
+1
-21
@@ -185,27 +185,6 @@ dep_libinput_backend = declare_dependency(
|
|||||||
include_directories: include_directories('.')
|
include_directories: include_directories('.')
|
||||||
)
|
)
|
||||||
|
|
||||||
if get_option('backend-headless')
|
|
||||||
config_h.set('BUILD_HEADLESS_COMPOSITOR', '1')
|
|
||||||
|
|
||||||
srcs_headless = [
|
|
||||||
'compositor-headless.c',
|
|
||||||
presentation_time_server_protocol_h,
|
|
||||||
]
|
|
||||||
plugin_headless = shared_library(
|
|
||||||
'headless-backend',
|
|
||||||
srcs_headless,
|
|
||||||
include_directories: include_directories('..', '../shared'),
|
|
||||||
dependencies: dep_libweston,
|
|
||||||
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)
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
if get_option('backend-rdp')
|
if get_option('backend-rdp')
|
||||||
config_h.set('BUILD_RDP_COMPOSITOR', '1')
|
config_h.set('BUILD_RDP_COMPOSITOR', '1')
|
||||||
|
|
||||||
@@ -397,3 +376,4 @@ endif
|
|||||||
|
|
||||||
subdir('renderer-gl')
|
subdir('renderer-gl')
|
||||||
subdir('backend-drm')
|
subdir('backend-drm')
|
||||||
|
subdir('backend-headless')
|
||||||
|
|||||||
Reference in New Issue
Block a user