1import("//third-party/unittest/unittest.gni") 2 3unittest("LLVMExegesisX86Tests") { 4 deps = [ 5 "//llvm/lib/DebugInfo/Symbolize", 6 "//llvm/lib/MC", 7 "//llvm/lib/MC/MCParser", 8 "//llvm/lib/Object", 9 "//llvm/lib/Support", 10 "//llvm/lib/Target/X86", 11 12 # Exegesis reaches inside the Target/X86 tablegen internals and must 13 # depend on this Target/X86-internal build target -- and so must its 14 # unittests. 15 "//llvm/lib/Target/X86/MCTargetDesc", 16 "//llvm/tools/llvm-exegesis/lib", 17 "//llvm/tools/llvm-exegesis/lib/X86", 18 ] 19 include_dirs = [ 20 "//llvm/lib/Target/X86", 21 "//llvm/tools/llvm-exegesis/lib", 22 ] 23 sources = [ 24 "AssemblerTest.cpp", 25 "BenchmarkResultTest.cpp", 26 "RegisterAliasingTest.cpp", 27 "SchedClassResolutionTest.cpp", 28 "SnippetFileTest.cpp", 29 "SnippetGeneratorTest.cpp", 30 "SnippetRepetitorTest.cpp", 31 "TargetTest.cpp", 32 ] 33} 34