11a82878aSMarc-André Lureautcg_ss = ss.source_set() 21a82878aSMarc-André Lureautcg_ss.add(files( 3940e43aaSClaudio Fontana 'tcg-all.c', 41a82878aSMarc-André Lureau 'cpu-exec-common.c', 51a82878aSMarc-André Lureau 'cpu-exec.c', 61a82878aSMarc-André Lureau 'tcg-runtime-gvec.c', 71a82878aSMarc-André Lureau 'tcg-runtime.c', 81a82878aSMarc-André Lureau 'translate-all.c', 91a82878aSMarc-André Lureau 'translator.c', 101a82878aSMarc-André Lureau)) 111a82878aSMarc-André Lureautcg_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c')) 121a82878aSMarc-André Lureautcg_ss.add(when: 'CONFIG_SOFTMMU', if_false: files('user-exec-stub.c')) 13ccf7afa5SPaolo Bonzinitcg_ss.add(when: 'CONFIG_PLUGIN', if_true: [files('plugin-gen.c'), libdl]) 141a82878aSMarc-André Lureauspecific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss) 151a82878aSMarc-André Lureau 1645e077d7SClaudio Fontanaspecific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: files( 1745e077d7SClaudio Fontana 'cputlb.c', 18*bca6eb34SGerd Hoffmann 'hmp.c', 19dae0ec15SGerd Hoffmann)) 20dae0ec15SGerd Hoffmann 21dae0ec15SGerd Hoffmanntcg_module_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: files( 22b86f59c7SClaudio Fontana 'tcg-accel-ops.c', 23b86f59c7SClaudio Fontana 'tcg-accel-ops-mttcg.c', 24b86f59c7SClaudio Fontana 'tcg-accel-ops-icount.c', 25dae0ec15SGerd Hoffmann 'tcg-accel-ops-rr.c', 2645e077d7SClaudio Fontana)) 27