]> granicus.if.org Git - llvm/commitdiff
[gn build] Merge r350341
authorNico Weber <nicolasweber@gmx.de>
Sun, 6 Jan 2019 15:49:10 +0000 (15:49 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 6 Jan 2019 15:49:10 +0000 (15:49 +0000)
Adds a build file for llvm-elfabi and makes check-llvm depend on it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350494 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/llvm/test/BUILD.gn
utils/gn/secondary/llvm/tools/llvm-elfabi/BUILD.gn [new file with mode: 0644]

index f282c7ffdbd61c4dfeef943c51da5eac15c413e0..91f7a87ed5a12c3cc40a02b709e90c03c54d7bbc 100644 (file)
@@ -187,7 +187,6 @@ group("test") {
     # lit tests run.
     "//llvm/lib/LineEditor",
     "//llvm/lib/Testing/Support",
-    "//llvm/lib/TextAPI",
     "//llvm/tools/bugpoint",
     "//llvm/tools/dsymutil",
     "//llvm/tools/llc",
@@ -208,6 +207,7 @@ group("test") {
     "//llvm/tools/llvm-dis",
     "//llvm/tools/llvm-dwarfdump",
     "//llvm/tools/llvm-dwp",
+    "//llvm/tools/llvm-elfabi",
     "//llvm/tools/llvm-exegesis",
     "//llvm/tools/llvm-extract",
     "//llvm/tools/llvm-isel-fuzzer",
diff --git a/utils/gn/secondary/llvm/tools/llvm-elfabi/BUILD.gn b/utils/gn/secondary/llvm/tools/llvm-elfabi/BUILD.gn
new file mode 100644 (file)
index 0000000..dd12e20
--- /dev/null
@@ -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",
+  ]
+}