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', 68a14b62cSRichard Henderson 'tb-maint.c', 71a82878aSMarc-André Lureau 'tcg-runtime-gvec.c', 81a82878aSMarc-André Lureau 'tcg-runtime.c', 91a82878aSMarc-André Lureau 'translate-all.c', 101a82878aSMarc-André Lureau 'translator.c', 111a82878aSMarc-André Lureau)) 121a82878aSMarc-André Lureautcg_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c')) 13c7b64948SPhilippe Mathieu-Daudétcg_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_false: files('user-exec-stub.c')) 142c13c574SPaolo Bonziniif get_option('plugins') 152c13c574SPaolo Bonzini tcg_ss.add(files('plugin-gen.c')) 162c13c574SPaolo Bonziniendif 177c10cb38SIlya Leoshkevichtcg_ss.add(when: libdw, if_true: files('debuginfo.c')) 185584e2dbSIlya Leoshkevichtcg_ss.add(when: 'CONFIG_LINUX', if_true: files('perf.c')) 191a82878aSMarc-André Lureauspecific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss) 201a82878aSMarc-André Lureau 21c7b64948SPhilippe Mathieu-Daudéspecific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( 2245e077d7SClaudio Fontana 'cputlb.c', 235934660fSPhilippe Mathieu-Daudé)) 245934660fSPhilippe Mathieu-Daudé 255934660fSPhilippe Mathieu-Daudésystem_ss.add(when: ['CONFIG_TCG'], if_true: files( 26*467bf3fcSPhilippe Mathieu-Daudé 'icount-common.c', 2700c9a5c2SPhilippe Mathieu-Daudé 'monitor.c', 28dae0ec15SGerd Hoffmann)) 29dae0ec15SGerd Hoffmann 30c7b64948SPhilippe Mathieu-Daudétcg_module_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( 31b86f59c7SClaudio Fontana 'tcg-accel-ops.c', 32b86f59c7SClaudio Fontana 'tcg-accel-ops-mttcg.c', 33b86f59c7SClaudio Fontana 'tcg-accel-ops-icount.c', 34dae0ec15SGerd Hoffmann 'tcg-accel-ops-rr.c', 3545e077d7SClaudio Fontana)) 36