1import("//llvm/utils/unittest/unittest.gni") 2 3unittest("CodeGenTests") { 4 deps = [ 5 "//llvm/lib/Analysis", 6 "//llvm/lib/AsmParser", 7 "//llvm/lib/CodeGen", 8 "//llvm/lib/CodeGen/AsmPrinter", 9 "//llvm/lib/CodeGen/SelectionDAG", 10 "//llvm/lib/IR", 11 "//llvm/lib/MC", 12 "//llvm/lib/Support", 13 "//llvm/lib/Target", 14 "//llvm/lib/Target:TargetsToBuild", 15 ] 16 sources = [ 17 "AArch64SelectionDAGTest.cpp", 18 "DIEHashTest.cpp", 19 "LexicalScopesTest.cpp", 20 "LowLevelTypeTest.cpp", 21 "MachineInstrBundleIteratorTest.cpp", 22 "MachineInstrTest.cpp", 23 "MachineOperandTest.cpp", 24 "ScalableVectorMVTsTest.cpp", 25 "TargetOptionsTest.cpp", 26 "TypeTraitsTest.cpp", 27 ] 28 has_custom_main = true 29} 30