[NFC][Py Reformat] Reformat python files in llvm
[llvm-project.git] / llvm / utils / gn / secondary / clang-tools-extra / clangd / tool / BUILD.gn
blobb0d9f056f2aa8bb4f02103a14694502f572ab110
1 import("//clang-tools-extra/clangd/xpc/enable.gni")
3 executable("clangd") {
4   configs += [ "//llvm/utils/gn/build:clang_code" ]
5   deps = [
6     "//clang-tools-extra/clang-tidy",
7     "//clang-tools-extra/clangd",
8     "//clang-tools-extra/clangd:features",
9     "//clang-tools-extra/clangd/index/remote/unimplemented",
10     "//clang-tools-extra/clangd/refactor/tweaks",
11     "//clang/lib/AST",
12     "//clang/lib/Basic",
13     "//clang/lib/Format",
14     "//clang/lib/Frontend",
15     "//clang/lib/Headers",
16     "//clang/lib/Sema",
17     "//clang/lib/Tooling",
18     "//clang/lib/Tooling/Core",
19     "//llvm/lib/Support",
20   ]
21   if (clangd_build_xpc) {
22     deps += [
23       "//clang-tools-extra/clangd/xpc:conversions",
24       "//clang-tools-extra/clangd/xpc:transport",
25     ]
26   }
28   include_dirs = [
29     "..",
31     # For "clang-include-cleaner/..." includes.
32     "//clang-tools-extra/include-cleaner/include",
33   ]
34   sources = [
35     "Check.cpp",
36     "ClangdMain.cpp",
37   ]