]> granicus.if.org Git - llvm/commitdiff
gn build: Add build file for dexp
authorNico Weber <nicolasweber@gmx.de>
Wed, 3 Apr 2019 19:09:15 +0000 (19:09 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 3 Apr 2019 19:09:15 +0000 (19:09 +0000)
None of check-clang-tools's tests run this, but the CMake
check-clang-tools depends on the binary, so add it for consistency.

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

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

utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn [new file with mode: 0644]
utils/gn/secondary/clang-tools-extra/test/BUILD.gn

diff --git a/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn b/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn
new file mode 100644 (file)
index 0000000..77f1ca4
--- /dev/null
@@ -0,0 +1,13 @@
+executable("dexp") {
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang-tools-extra/clangd",
+    "//clang/lib/Basic",
+    "//llvm/lib/LineEditor",
+    "//llvm/lib/Support",
+  ]
+  include_dirs = [ "../../.." ]
+  sources = [
+    "Dexp.cpp",
+  ]
+}
index 16360517604a37ac15bc7655f15f4f9f4a84b69c..cf225ffd45b2b7cafa21ee50e36449f86c8b08a1 100644 (file)
@@ -74,6 +74,7 @@ group("test") {
     "//clang-tools-extra/clang-query/tool:clang-query",
     "//clang-tools-extra/clang-reorder-fields/tool:clang-reorder-fields",
     "//clang-tools-extra/clang-tidy/tool:clang-tidy",
+    "//clang-tools-extra/clangd/index/dex/dexp",
     "//clang-tools-extra/clangd/indexer:clangd-indexer",
     "//clang-tools-extra/clangd/tool:clangd",
     "//clang-tools-extra/modularize",
@@ -93,8 +94,6 @@ group("test") {
     deps +=
         [ "//clang-tools-extra/clangd/xpc/test-client:clangd-xpc-test-client" ]
   }
-
-  # FIXME: dep on dexp once it exist
   testonly = true
 }