1import("//third-party/unittest/unittest.gni") 2 3unittest("GlobalISelTests") { 4 deps = [ 5 "//llvm/lib/CodeGen", 6 "//llvm/lib/CodeGen/GlobalISel", 7 "//llvm/lib/CodeGen/MIRParser", 8 "//llvm/lib/FileCheck", 9 "//llvm/lib/IR", 10 "//llvm/lib/MC", 11 "//llvm/lib/Support", 12 "//llvm/lib/Target", 13 "//llvm/lib/Target:TargetsToBuild", 14 "//llvm/lib/TargetParser", 15 ] 16 sources = [ 17 "CSETest.cpp", 18 "ConstantFoldingTest.cpp", 19 "GISelAliasTest.cpp", 20 "GISelMITest.cpp", 21 "GISelUtilsTest.cpp", 22 "KnownBitsTest.cpp", 23 "KnownBitsVectorTest.cpp", 24 "LegalizerHelperTest.cpp", 25 "LegalizerInfoTest.cpp", 26 "LegalizerTest.cpp", 27 "MachineIRBuilderTest.cpp", 28 "PatternMatchTest.cpp", 29 ] 30 has_custom_main = true 31} 32