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/FileCheck", 11 "//llvm/lib/IR", 12 "//llvm/lib/MC", 13 "//llvm/lib/Passes", 14 "//llvm/lib/Support", 15 "//llvm/lib/Target", 16 "//llvm/lib/Target:TargetsToBuild", 17 "//llvm/lib/Testing/Support", 18 ] 19 sources = [ 20 "AArch64SelectionDAGTest.cpp", 21 "AllocationOrderTest.cpp", 22 "AsmPrinterDwarfTest.cpp", 23 "DIEHashTest.cpp", 24 "DIETest.cpp", 25 "LexicalScopesTest.cpp", 26 "LowLevelTypeTest.cpp", 27 "MachineInstrBundleIteratorTest.cpp", 28 "MachineInstrTest.cpp", 29 "MachineOperandTest.cpp", 30 "PassManagerTest.cpp", 31 "ScalableVectorMVTsTest.cpp", 32 "SelectionDAGAddressAnalysisTest.cpp", 33 "TargetOptionsTest.cpp", 34 "TestAsmPrinter.cpp", 35 "TypeTraitsTest.cpp", 36 ] 37 has_custom_main = true 38} 39