Revert "[Flang][Driver] Add a flag to control zero initialization of global v…" ...
[llvm-project.git] / llvm / utils / gn / secondary / lld / wasm / BUILD.gn
blob9dfa64177f463fba322b63780eaeb72b8fd679e7
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("Options") {
4   visibility = [ ":wasm" ]
5   args = [ "-gen-opt-parser-defs" ]
8 static_library("wasm") {
9   output_name = "lldWasm"
10   configs += [ "//llvm/utils/gn/build:lld_code" ]
11   deps = [
12     ":Options",
13     "//lld/Common",
14     "//llvm/lib/BinaryFormat",
15     "//llvm/lib/Demangle",
16     "//llvm/lib/IR",
17     "//llvm/lib/Object",
18     "//llvm/lib/Option",
19     "//llvm/lib/TargetParser",
20   ]
21   sources = [
22     "Driver.cpp",
23     "InputChunks.cpp",
24     "InputFiles.cpp",
25     "LTO.cpp",
26     "MapFile.cpp",
27     "MarkLive.cpp",
28     "OutputSections.cpp",
29     "OutputSegment.cpp",
30     "Relocations.cpp",
31     "SymbolTable.cpp",
32     "Symbols.cpp",
33     "SyntheticSections.cpp",
34     "Writer.cpp",
35     "WriterUtils.cpp",
36   ]