blob: 449f99e1de63b3bab10da894b4d4e681226b6618 [file] [log] [blame]
Marc-André Lureauc574e162019-07-26 12:02:31 +04001libvixl_ss = ss.source_set()
2subdir('libvixl')
3
4common_ss.add(when: 'CONFIG_ALPHA_DIS', if_true: files('alpha.c'))
5common_ss.add(when: 'CONFIG_ARM_A64_DIS', if_true: files('arm-a64.cc'))
6common_ss.add_all(when: 'CONFIG_ARM_A64_DIS', if_true: libvixl_ss)
7common_ss.add(when: 'CONFIG_ARM_DIS', if_true: files('arm.c'))
8common_ss.add(when: 'CONFIG_CRIS_DIS', if_true: files('cris.c'))
Taylor Simpsona00cfed2021-02-07 23:45:55 -06009common_ss.add(when: 'CONFIG_HEXAGON_DIS', if_true: files('hexagon.c'))
Marc-André Lureauc574e162019-07-26 12:02:31 +040010common_ss.add(when: 'CONFIG_HPPA_DIS', if_true: files('hppa.c'))
11common_ss.add(when: 'CONFIG_I386_DIS', if_true: files('i386.c'))
Marc-André Lureauc574e162019-07-26 12:02:31 +040012common_ss.add(when: 'CONFIG_M68K_DIS', if_true: files('m68k.c'))
13common_ss.add(when: 'CONFIG_MICROBLAZE_DIS', if_true: files('microblaze.c'))
14common_ss.add(when: 'CONFIG_MIPS_DIS', if_true: files('mips.c'))
Marc-André Lureauc574e162019-07-26 12:02:31 +040015common_ss.add(when: 'CONFIG_NANOMIPS_DIS', if_true: files('nanomips.cpp'))
16common_ss.add(when: 'CONFIG_NIOS2_DIS', if_true: files('nios2.c'))
17common_ss.add(when: 'CONFIG_PPC_DIS', if_true: files('ppc.c'))
18common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c'))
19common_ss.add(when: 'CONFIG_S390_DIS', if_true: files('s390.c'))
20common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
21common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
22common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
Richard Hendersonf3433462020-09-12 10:47:33 -070023common_ss.add(when: capstone, if_true: files('capstone.c'))