[gn build] Add build files for llvm/lib/Bitcode/Reader and llvm/lib/MC/MCParser.

Differential Revision: https://reviews.llvm.org/D55087

llvm-svn: 347995
This commit is contained in:
Nico Weber 2018-11-30 14:49:46 +00:00
parent 7278cc7d73
commit 5595925044
3 changed files with 38 additions and 0 deletions

View File

@ -1,6 +1,8 @@
group("default") { group("default") {
deps = [ deps = [
"//llvm/lib/Bitcode/Reader",
"//llvm/lib/IR", "//llvm/lib/IR",
"//llvm/lib/MC/MCParser",
"//llvm/tools/llvm-undname", "//llvm/tools/llvm-undname",
"//llvm/utils/TableGen:llvm-tblgen", "//llvm/utils/TableGen:llvm-tblgen",
] ]

View File

@ -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",
]
}

View File

@ -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",
]
}