Marc-André Lureau | c574e16 | 2019-07-26 12:02:31 +0400 | [diff] [blame] | 1 | libvixl_ss = ss.source_set() |
| 2 | subdir('libvixl') |
| 3 | |
| 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')) |
Taylor Simpson | a00cfed | 2021-02-07 23:45:55 -0600 | [diff] [blame] | 9 | common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c')) |
Marc-André Lureau | c574e16 | 2019-07-26 12:02:31 +0400 | [diff] [blame] | 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')) |
Marc-André Lureau | c574e16 | 2019-07-26 12:02:31 +0400 | [diff] [blame] | 12 | common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c')) |
| 13 | common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c')) |
| 14 | common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c')) |
Marc-André Lureau | c574e16 | 2019-07-26 12:02:31 +0400 | [diff] [blame] | 15 | common_ss.add(when: 'CONFIG_NANOMIPS_DIS', if_true: files('nanomips.cpp')) |
| 16 | common_ss.add(when: 'CONFIG_NIOS2_DIS', if_true: files('nios2.c')) |
| 17 | common_ss.add(when: 'CONFIG_PPC_DIS', if_true: files('ppc.c')) |
| 18 | common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c')) |
| 19 | common_ss.add(when: 'CONFIG_S390_DIS', if_true: files('s390.c')) |
| 20 | common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c')) |
| 21 | common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c')) |
| 22 | common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c')) |
Richard Henderson | f343346 | 2020-09-12 10:47:33 -0700 | [diff] [blame] | 23 | common_ss.add(when: capstone, if_true: files('capstone.c')) |