15 chardev_ss.add(when: 'CONFIG_POSIX', if_true: [files(
19 if targetos in ['linux', 'gnu/kfreebsd', 'freebsd', 'dragonfly']
20 chardev_ss.add(files('char-parallel.c'))
23 chardev_ss.add(when: 'CONFIG_WIN32', if_true: files(
29 chardev_ss = chardev_ss.apply(config_host, strict: false)
31 softmmu_ss.add(files('msmouse.c', 'wctablet.c', 'testdev.c'))
36 module_ss = ss.source_set()
37 module_ss.add(when: [brlapi], if_true: [files('baum.c'), pixman])
38 chardev_modules += { 'baum': module_ss }
42 module_ss = ss.source_set()
43 module_ss.add(when: [spice], if_true: files('spice.c'))
44 chardev_modules += { 'spice': module_ss }
47 modules += { 'chardev': chardev_modules }