[gn build] Merge r350341

Adds a build file for llvm-elfabi and makes check-llvm depend on it.

llvm-svn: 350494
This commit is contained in:
Nico Weber 2019-01-06 15:49:10 +00:00
parent ea9d555b83
commit 08df157aac
2 changed files with 13 additions and 1 deletions

View File

@ -187,7 +187,6 @@ group("test") {
# lit tests run. # lit tests run.
"//llvm/lib/LineEditor", "//llvm/lib/LineEditor",
"//llvm/lib/Testing/Support", "//llvm/lib/Testing/Support",
"//llvm/lib/TextAPI",
"//llvm/tools/bugpoint", "//llvm/tools/bugpoint",
"//llvm/tools/dsymutil", "//llvm/tools/dsymutil",
"//llvm/tools/llc", "//llvm/tools/llc",
@ -208,6 +207,7 @@ group("test") {
"//llvm/tools/llvm-dis", "//llvm/tools/llvm-dis",
"//llvm/tools/llvm-dwarfdump", "//llvm/tools/llvm-dwarfdump",
"//llvm/tools/llvm-dwp", "//llvm/tools/llvm-dwp",
"//llvm/tools/llvm-elfabi",
"//llvm/tools/llvm-exegesis", "//llvm/tools/llvm-exegesis",
"//llvm/tools/llvm-extract", "//llvm/tools/llvm-extract",
"//llvm/tools/llvm-isel-fuzzer", "//llvm/tools/llvm-isel-fuzzer",

View File

@ -0,0 +1,12 @@
executable("llvm-elfabi") {
deps = [
"//llvm/lib/Object",
"//llvm/lib/Support",
"//llvm/lib/TextAPI",
]
sources = [
"ELFObjHandler.cpp",
"ErrorCollector.cpp",
"llvm-elfabi.cpp",
]
}