forked from OSchip/llvm-project
[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:
parent
7278cc7d73
commit
5595925044
|
@ -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",
|
||||||
]
|
]
|
||||||
|
|
|
@ -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",
|
||||||
|
]
|
||||||
|
}
|
|
@ -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",
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue