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_targetos, strict: false)
40 module_ss = ss.source_set()
41 module_ss.add(when: [brlapi], if_true: [files('baum.c'), pixman])
42 chardev_modules += { 'baum': module_ss }
46 module_ss = ss.source_set()
47 module_ss.add(when: [spice], if_true: files('spice.c'))
48 chardev_modules += { 'spice': module_ss }
51 modules += { 'chardev': chardev_modules }