[yaml2obj/obj2yaml] - Add support for .stack_sizes sections.
[llvm-complete.git] / utils / gn / secondary / llvm / unittests / BUILD.gn
blobf03456dca4a890548eb3766ef8e9bdcd825320b8
1 import("//llvm/lib/Target/targets.gni")
3 group("unittests") {
4   deps = [
5     "ADT:ADTTests",
6     "Analysis:AnalysisTests",
7     "AsmParser:AsmParserTests",
8     "BinaryFormat:BinaryFormatTests",
9     "Bitcode:BitcodeTests",
10     "Bitstream:BitstreamTests",
11     "CodeGen:CodeGenTests",
12     "CodeGen/GlobalISel:GlobalISelTests",
13     "DebugInfo/CodeView:DebugInfoCodeViewTests",
14     "DebugInfo/DWARF:DebugInfoDWARFTests",
15     "DebugInfo/GSYM:DebugInfoGSYMTests",
16     "DebugInfo/MSF:DebugInfoMSFTests",
17     "DebugInfo/PDB:DebugInfoPDBTests",
18     "Demangle:DemangleTests",
19     "ExecutionEngine:ExecutionEngineTests",
20     "ExecutionEngine/JITLink:JITLinkTests",
21     "ExecutionEngine/MCJIT:MCJITTests",
22     "ExecutionEngine/Orc:OrcJITTests",
23     "FuzzMutate:FuzzMutateTests",
24     "IR:IRTests",
25     "LineEditor:LineEditorTests",
26     "Linker:LinkerTests",
27     "MC:MCTests",
28     "MI:MITests",
29     "Object:ObjectTests",
30     "ObjectYAML:ObjectYAMLTests",
31     "Option:OptionTests",
32     "Passes:PluginsTests",
33     "ProfileData:ProfileDataTests",
34     "Remarks:RemarksTests",
35     "Support:SupportTests",
36     "Support/DynamicLibrary:DynamicLibraryTests",
37     "TextAPI:TextAPITests",
38     "Transforms/IPO:IPOTests",
39     "Transforms/Scalar:ScalarTests",
40     "Transforms/Utils:UtilsTests",
41     "Transforms/Vectorize:VectorizeTests",
42     "XRay:XRayTests",
43     "tools/llvm-cfi-verify:CFIVerifyTests",
44     "tools/llvm-exegesis:LLVMExegesisTests",
45   ]
47   # Target-dependent unit tests.
48   # FIXME: This matches how they are set up in the cmake build,
49   # but if we disable an arch after building with it on, this
50   # setup leaves behind stale executables.
51   if (llvm_build_AArch64) {
52     deps += [
53       "Target/AArch64:AArch64Tests",
54       "tools/llvm-exegesis/AArch64:LLVMExegesisAArch64Tests",
55     ]
56   }
57   if (llvm_build_ARM) {
58     deps += [
59       "Target/ARM:ARMTests",
60       "tools/llvm-exegesis/ARM:LLVMExegesisARMTests",
61     ]
62   }
63   if (llvm_build_WebAssembly) {
64     deps += [ "Target/WebAssembly:WebAssemblyTests" ]
65   }
66   if (llvm_build_PowerPC) {
67     deps += [ "tools/llvm-exegesis/PowerPC:LLVMExegesisPowerPCTests" ]
68   }
69   if (llvm_build_X86) {
70     deps += [ "tools/llvm-exegesis/X86:LLVMExegesisX86Tests" ]
71   }
73   testonly = true