diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-04-03 19:09:15 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-04-03 19:09:15 +0000 |
commit | fd47bc672a1d9ca3dc5c8c46713ffd0712e392b8 (patch) | |
tree | 4e89ebe0fca1f11eb4aab64f0e7a3bd66491745a | |
parent | 6dff95cf55e4be55b776ee0a5bccd8ebc6ddaaad (diff) | |
download | bcm5719-llvm-fd47bc672a1d9ca3dc5c8c46713ffd0712e392b8.tar.gz bcm5719-llvm-fd47bc672a1d9ca3dc5c8c46713ffd0712e392b8.zip |
gn build: Add build file for dexp
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
llvm-svn: 357624
-rw-r--r-- | llvm/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn | 13 | ||||
-rw-r--r-- | llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn | 3 |
2 files changed, 14 insertions, 2 deletions
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn new file mode 100644 index 00000000000..77f1ca433bb --- /dev/null +++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn @@ -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", + ] +} diff --git a/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn index 16360517604..cf225ffd45b 100644 --- a/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn +++ b/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn @@ -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 } |