| chardev_ss.add(when: 'CONFIG_POSIX', if_true: files( |
| chardev_ss.add(when: 'CONFIG_WIN32', if_true: files( |
| chardev_ss = chardev_ss.apply(config_host, strict: false) |
| softmmu_ss.add(files('chardev-sysemu.c', 'msmouse.c', 'wctablet.c', 'testdev.c')) |
| if config_host.has_key('CONFIG_BRLAPI') |
| module_ss = ss.source_set() |
| module_ss.add(when: [brlapi], if_true: [files('baum.c'), pixman]) |
| chardev_modules += { 'baum': module_ss } |
| if config_host.has_key('CONFIG_SPICE') |
| module_ss = ss.source_set() |
| module_ss.add(when: [spice], if_true: files('spice.c')) |
| chardev_modules += { 'spice': module_ss } |
| modules += { 'chardev': chardev_modules } |