gn build: Merge r372706
[llvm-complete.git] / utils / gn / secondary / llvm / unittests / CodeGen / BUILD.gn
blob94697889e2d91c3c5f4783a0bd2b4c299aa4fe4b
1 import("//llvm/utils/unittest/unittest.gni")
3 unittest("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     "LowLevelTypeTest.cpp",
20     "MachineInstrBundleIteratorTest.cpp",
21     "MachineInstrTest.cpp",
22     "MachineOperandTest.cpp",
23     "ScalableVectorMVTsTest.cpp",
24     "TargetOptionsTest.cpp",
25     "TypeTraitsTest.cpp",
26   ]
27   has_custom_main = true