• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if get_option('shell-kiosk')
2	srcs_shell_kiosk = [
3		'kiosk-shell.c',
4		'kiosk-shell-grab.c',
5		'util.c',
6		weston_desktop_shell_server_protocol_h,
7		weston_desktop_shell_protocol_c,
8		input_method_unstable_v1_server_protocol_h,
9		input_method_unstable_v1_protocol_c,
10	]
11	deps_shell_kiosk = [
12		dep_libm,
13		dep_libexec_weston,
14		dep_libshared,
15		dep_lib_desktop,
16		dep_libweston_public,
17	]
18	plugin_shell_kiosk = shared_library(
19		'kiosk-shell',
20		srcs_shell_kiosk,
21		include_directories: common_inc,
22		dependencies: deps_shell_kiosk,
23		name_prefix: '',
24		install: true,
25		install_dir: dir_module_weston,
26		install_rpath: '$ORIGIN'
27	)
28	env_modmap += 'kiosk-shell.so=@0@;'.format(plugin_shell_kiosk.full_path())
29endif
30