2016-11-24 18:54:51 +03:00
|
|
|
if get_option('shell-ivi')
|
|
|
|
srcs_shell_ivi = [
|
|
|
|
'ivi-shell.c',
|
|
|
|
'ivi-layout.c',
|
|
|
|
'ivi-layout-transition.c',
|
|
|
|
ivi_application_server_protocol_h,
|
|
|
|
ivi_application_protocol_c,
|
|
|
|
input_method_unstable_v1_server_protocol_h,
|
|
|
|
input_method_unstable_v1_protocol_c,
|
|
|
|
]
|
|
|
|
plugin_shell_ivi = shared_library(
|
|
|
|
'ivi-shell',
|
|
|
|
srcs_shell_ivi,
|
2019-04-05 17:09:28 +03:00
|
|
|
include_directories: common_inc,
|
2019-10-17 16:17:57 +03:00
|
|
|
dependencies: [
|
|
|
|
dep_libm,
|
2019-07-09 12:00:41 +03:00
|
|
|
dep_libexec_weston,
|
2022-11-09 05:24:12 +03:00
|
|
|
dep_libweston_public,
|
|
|
|
dep_libshared
|
2019-10-17 16:17:57 +03:00
|
|
|
],
|
2016-11-24 18:54:51 +03:00
|
|
|
name_prefix: '',
|
|
|
|
install: true,
|
2020-02-05 02:40:01 +03:00
|
|
|
install_dir: dir_module_weston,
|
|
|
|
install_rpath: '$ORIGIN'
|
2016-11-24 18:54:51 +03:00
|
|
|
)
|
|
|
|
env_modmap += 'ivi-shell.so=@0@;'.format(plugin_shell_ivi.full_path())
|
|
|
|
|
|
|
|
install_headers('ivi-layout-export.h', subdir: 'weston')
|
|
|
|
|
|
|
|
srcs_ivi_hmi = [
|
|
|
|
'hmi-controller.c',
|
|
|
|
ivi_hmi_controller_server_protocol_h,
|
|
|
|
ivi_hmi_controller_protocol_c,
|
|
|
|
]
|
|
|
|
plugin_ivi_hmi = shared_library(
|
|
|
|
'hmi-controller',
|
|
|
|
srcs_ivi_hmi,
|
2019-04-05 17:09:28 +03:00
|
|
|
include_directories: common_inc,
|
2019-07-09 12:00:41 +03:00
|
|
|
dependencies: [
|
|
|
|
dep_libexec_weston,
|
|
|
|
dep_libweston_public,
|
|
|
|
dep_libshared
|
|
|
|
],
|
2016-11-24 18:54:51 +03:00
|
|
|
name_prefix: '',
|
|
|
|
install: true,
|
2020-02-05 02:40:01 +03:00
|
|
|
install_dir: dir_module_weston,
|
|
|
|
install_rpath: '$ORIGIN'
|
2016-11-24 18:54:51 +03:00
|
|
|
)
|
|
|
|
env_modmap += 'hmi-controller.so=@0@;'.format(plugin_ivi_hmi.full_path())
|
|
|
|
|
|
|
|
ivi_test_config = configuration_data()
|
|
|
|
ivi_test_config.set('bindir', dir_bin)
|
2021-06-04 13:02:50 +03:00
|
|
|
ivi_test_config.set('westondatadir', dir_data / 'weston')
|
|
|
|
configure_file(
|
|
|
|
input: 'weston.ini.in',
|
|
|
|
output: 'weston.ini',
|
|
|
|
configuration: ivi_test_config
|
|
|
|
)
|
2016-11-24 18:54:51 +03:00
|
|
|
endif
|