1 libvixl_ss = ss.source_set()
4 common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
5 common_ss.add(when: 'CONFIG_ARM_A64_DIS', if_true: files('arm-a64.cc'))
6 common_ss.add_all(when: 'CONFIG_ARM_A64_DIS', if_true: libvixl_ss)
7 common_ss.add(when: 'CONFIG_ARM_DIS', if_true: files('arm.c'))
8 common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c'))
9 common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
10 common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
11 common_ss.add(when: 'CONFIG_I386_DIS', if_true: files('i386.c'))
12 common_ss.add(when: 'CONFIG_LM32_DIS', if_true: files('lm32.c'))
13 common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
14 common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
15 common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c'))
16 common_ss.add(when: 'CONFIG_MOXIE_DIS', if_true: files('moxie.c'))
17 common_ss.add(when: 'CONFIG_NANOMIPS_DIS', if_true: files('nanomips.cpp'))
18 common_ss.add(when: 'CONFIG_NIOS2_DIS', if_true: files('nios2.c'))
19 common_ss.add(when: 'CONFIG_PPC_DIS', if_true: files('ppc.c'))
20 common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c'))
21 common_ss.add(when: 'CONFIG_S390_DIS', if_true: files('s390.c'))
22 common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
23 common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
24 common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
25 common_ss.add(when: capstone, if_true: files('capstone.c'))