From: Nico Weber Date: Wed, 3 Apr 2019 19:09:15 +0000 (+0000) Subject: gn build: Add build file for dexp X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c7b7d7261b1b9f0e5d7b3a8bf0ed822b1ee3c04;p=llvm 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357624 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 index 00000000000..77f1ca433bb --- /dev/null +++ b/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/utils/gn/secondary/clang-tools-extra/test/BUILD.gn b/utils/gn/secondary/clang-tools-extra/test/BUILD.gn index 16360517604..cf225ffd45b 100644 --- a/utils/gn/secondary/clang-tools-extra/test/BUILD.gn +++ b/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 }