[PATCH] D55087: [gn build] Add build files for llvm/lib/Bitcode/Reader and llvm/lib/MC/MCParser.
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 06:52:50 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL347995: [gn build] Add build files for llvm/lib/Bitcode/Reader and llvm/lib/MC/MCParser. (authored by nico, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D55087?vs=175981&id=176112#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55087/new/
https://reviews.llvm.org/D55087
Files:
llvm/trunk/utils/gn/secondary/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn
Index: llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn
@@ -0,0 +1,16 @@
+static_library("Reader") {
+ output_name = "LLVMBitReader"
+ deps = [
+ "//llvm/include/llvm/Config:llvm-config",
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ ]
+
+ sources = [
+ "BitReader.cpp",
+ "BitcodeReader.cpp",
+ "BitstreamReader.cpp",
+ "MetadataLoader.cpp",
+ "ValueList.cpp",
+ ]
+}
Index: llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn
@@ -0,0 +1,20 @@
+static_library("MCParser") {
+ output_name = "LLVMMCParser"
+ deps = [
+ "//llvm/lib/MC",
+ "//llvm/lib/Support",
+ ]
+
+ sources = [
+ "AsmLexer.cpp",
+ "AsmParser.cpp",
+ "COFFAsmParser.cpp",
+ "DarwinAsmParser.cpp",
+ "ELFAsmParser.cpp",
+ "MCAsmLexer.cpp",
+ "MCAsmParser.cpp",
+ "MCAsmParserExtension.cpp",
+ "MCTargetAsmParser.cpp",
+ "WasmAsmParser.cpp",
+ ]
+}
Index: llvm/trunk/utils/gn/secondary/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/BUILD.gn
@@ -1,6 +1,8 @@
group("default") {
deps = [
+ "//llvm/lib/Bitcode/Reader",
"//llvm/lib/IR",
+ "//llvm/lib/MC/MCParser",
"//llvm/tools/llvm-undname",
"//llvm/utils/TableGen:llvm-tblgen",
]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55087.176112.patch
Type: text/x-patch
Size: 1720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181130/06bc6c50/attachment.bin>
More information about the llvm-commits
mailing list