• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if get_option('shell-ivi')
2	srcs_shell_ivi = [
3		'ivi-shell.c',
4		'ivi-layout.c',
5		'ivi-layout-transition.c',
6		ivi_application_server_protocol_h,
7		ivi_application_protocol_c,
8		input_method_unstable_v1_server_protocol_h,
9		input_method_unstable_v1_protocol_c,
10	]
11	plugin_shell_ivi = shared_library(
12		'ivi-shell',
13		srcs_shell_ivi,
14		include_directories: common_inc,
15		dependencies: [
16			dep_libm,
17			dep_libexec_weston,
18			dep_lib_desktop,
19			dep_libweston_public
20		],
21		name_prefix: '',
22		install: true,
23		install_dir: dir_module_weston,
24		install_rpath: '$ORIGIN'
25	)
26	env_modmap += 'ivi-shell.so=@0@;'.format(plugin_shell_ivi.full_path())
27
28	install_headers('ivi-layout-export.h', subdir: 'weston')
29
30	srcs_ivi_hmi = [
31		'hmi-controller.c',
32		ivi_hmi_controller_server_protocol_h,
33		ivi_hmi_controller_protocol_c,
34	]
35	plugin_ivi_hmi = shared_library(
36		'hmi-controller',
37		srcs_ivi_hmi,
38		include_directories: common_inc,
39		dependencies: [
40			dep_libexec_weston,
41			dep_libweston_public,
42			dep_libshared
43		],
44		name_prefix: '',
45		install: true,
46		install_dir: dir_module_weston,
47		install_rpath: '$ORIGIN'
48	)
49	env_modmap += 'hmi-controller.so=@0@;'.format(plugin_ivi_hmi.full_path())
50
51	ivi_test_config = configuration_data()
52	ivi_test_config.set('bindir', dir_bin)
53	ivi_test_config.set('libexecdir', dir_libexec)
54	ivi_test_config.set('plugin_prefix', meson.current_build_dir())
55	ivi_test_config.set('westondatadir', join_paths(dir_data, 'weston'))
56	ivi_test_ini = configure_file(
57		input: '../ivi-shell/weston.ini.in',
58		output: 'weston-ivi-test.ini',
59		configuration: ivi_test_config
60	)
61endif
62