2020-06-17 23:13:46 +00:00
|
|
|
vbox_driver_sources = [
|
|
|
|
'vbox_V5_2.c',
|
|
|
|
'vbox_V6_0.c',
|
|
|
|
'vbox_V6_1.c',
|
|
|
|
'vbox_common.c',
|
|
|
|
'vbox_driver.c',
|
|
|
|
'vbox_network.c',
|
|
|
|
'vbox_snapshot_conf.c',
|
|
|
|
'vbox_storage.c',
|
|
|
|
'vbox_XPCOMCGlue.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
if conf.has('WITH_VBOX')
|
|
|
|
vbox_driver_impl = static_library(
|
|
|
|
'virt_driver_vbox_impl',
|
|
|
|
[
|
|
|
|
vbox_driver_sources,
|
|
|
|
],
|
|
|
|
c_args: [
|
|
|
|
'-DVBOX_DRIVER',
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
dlopen_dep,
|
|
|
|
src_dep,
|
|
|
|
win32_dep,
|
|
|
|
],
|
|
|
|
include_directories: [
|
|
|
|
conf_inc_dir,
|
|
|
|
],
|
|
|
|
)
|
2020-06-22 13:40:39 +00:00
|
|
|
|
|
|
|
virt_modules += {
|
|
|
|
'name': 'virt_driver_vbox',
|
|
|
|
'link_whole': [
|
|
|
|
vbox_driver_impl,
|
|
|
|
],
|
|
|
|
'link_args': [
|
|
|
|
libvirt_no_undefined,
|
|
|
|
],
|
|
|
|
}
|
2020-06-17 23:13:46 +00:00
|
|
|
endif
|