[llvm] r347995 - [gn build] Add build files for llvm/lib/Bitcode/Reader and llvm/lib/MC/MCParser.
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 06:49:46 PST 2018
Author: nico
Date: Fri Nov 30 06:49:46 2018
New Revision: 347995
URL: http://llvm.org/viewvc/llvm-project?rev=347995&view=rev
Log:
[gn build] Add build files for llvm/lib/Bitcode/Reader and llvm/lib/MC/MCParser.
Differential Revision: https://reviews.llvm.org/D55087
Added:
llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/
llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/
llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/
llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn
Modified:
llvm/trunk/utils/gn/secondary/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/BUILD.gn?rev=347995&r1=347994&r2=347995&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/BUILD.gn Fri Nov 30 06:49:46 2018
@@ -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",
]
Added: llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn?rev=347995&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Bitcode/Reader/BUILD.gn Fri Nov 30 06:49:46 2018
@@ -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",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn?rev=347995&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCParser/BUILD.gn Fri Nov 30 06:49:46 2018
@@ -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",
+ ]
+}
More information about the llvm-commits
mailing list