import("//llvm/utils/unittest/unittest.gni") unittest("CodeGenTests") { deps = [ "//llvm/lib/Analysis", "//llvm/lib/AsmParser", "//llvm/lib/CodeGen", "//llvm/lib/CodeGen/AsmPrinter", "//llvm/lib/CodeGen/SelectionDAG", "//llvm/lib/FileCheck", "//llvm/lib/IR", "//llvm/lib/MC", "//llvm/lib/Passes", "//llvm/lib/Support", "//llvm/lib/Target", "//llvm/lib/Target:TargetsToBuild", "//llvm/lib/Testing/Support", ] sources = [ "AArch64SelectionDAGTest.cpp", "AllocationOrderTest.cpp", "AsmPrinterDwarfTest.cpp", "DIEHashTest.cpp", "DIETest.cpp", "LexicalScopesTest.cpp", "LowLevelTypeTest.cpp", "MachineInstrBundleIteratorTest.cpp", "MachineInstrTest.cpp", "MachineOperandTest.cpp", "PassManagerTest.cpp", "ScalableVectorMVTsTest.cpp", "SelectionDAGAddressAnalysisTest.cpp", "TargetOptionsTest.cpp", "TestAsmPrinter.cpp", "TypeTraitsTest.cpp", ] has_custom_main = true }