[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / utils / gn / secondary / llvm / lib / MC / BUILD.gn
blob28717f4dbd7aaf163a51ad76610877671c4a8273
1 static_library("MC") {
2   output_name = "LLVMMC"
3   deps = [
4     "//llvm/include/llvm/Config:config",
5     "//llvm/lib/DebugInfo/CodeView",
6     "//llvm/lib/Support",
7   ]
8   public_deps = [
9     # Must be a public_dep because MC's headers include llvm-config.h.
10     "//llvm/include/llvm/Config:llvm-config",
11   ]
12   sources = [
13     "ConstantPools.cpp",
14     "ELFObjectWriter.cpp",
15     "MCAsmBackend.cpp",
16     "MCAsmInfo.cpp",
17     "MCAsmInfoCOFF.cpp",
18     "MCAsmInfoDarwin.cpp",
19     "MCAsmInfoELF.cpp",
20     "MCAsmInfoWasm.cpp",
21     "MCAsmInfoXCOFF.cpp",
22     "MCAsmMacro.cpp",
23     "MCAsmStreamer.cpp",
24     "MCAssembler.cpp",
25     "MCCodeEmitter.cpp",
26     "MCCodePadder.cpp",
27     "MCCodeView.cpp",
28     "MCContext.cpp",
29     "MCDwarf.cpp",
30     "MCELFObjectTargetWriter.cpp",
31     "MCELFStreamer.cpp",
32     "MCExpr.cpp",
33     "MCFragment.cpp",
34     "MCInst.cpp",
35     "MCInstPrinter.cpp",
36     "MCInstrAnalysis.cpp",
37     "MCInstrDesc.cpp",
38     "MCLabel.cpp",
39     "MCLinkerOptimizationHint.cpp",
40     "MCMachOStreamer.cpp",
41     "MCMachObjectTargetWriter.cpp",
42     "MCNullStreamer.cpp",
43     "MCObjectFileInfo.cpp",
44     "MCObjectStreamer.cpp",
45     "MCObjectWriter.cpp",
46     "MCRegisterInfo.cpp",
47     "MCSchedule.cpp",
48     "MCSection.cpp",
49     "MCSectionCOFF.cpp",
50     "MCSectionELF.cpp",
51     "MCSectionMachO.cpp",
52     "MCSectionWasm.cpp",
53     "MCSectionXCOFF.cpp",
54     "MCStreamer.cpp",
55     "MCSubtargetInfo.cpp",
56     "MCSymbol.cpp",
57     "MCSymbolELF.cpp",
58     "MCTargetOptions.cpp",
59     "MCValue.cpp",
60     "MCWasmObjectTargetWriter.cpp",
61     "MCWasmStreamer.cpp",
62     "MCWin64EH.cpp",
63     "MCWinCOFFStreamer.cpp",
64     "MCWinEH.cpp",
65     "MCXCOFFObjectTargetWriter.cpp",
66     "MCXCOFFStreamer.cpp",
67     "MachObjectWriter.cpp",
68     "StringTableBuilder.cpp",
69     "SubtargetFeature.cpp",
70     "WasmObjectWriter.cpp",
71     "WinCOFFObjectWriter.cpp",
72     "XCOFFObjectWriter.cpp",
73   ]