llvm-for-llvmta/utils/gn/secondary/clang-tools-extra/clangd/tool/BUILD.gn

34 lines
845 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
import("//clang-tools-extra/clangd/xpc/enable.gni")
executable("clangd") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/clang-tidy",
"//clang-tools-extra/clangd",
"//clang-tools-extra/clangd:features",
"//clang-tools-extra/clangd/index/remote/unimplemented",
"//clang-tools-extra/clangd/refactor/tweaks",
"//clang/lib/AST",
"//clang/lib/Basic",
"//clang/lib/Format",
"//clang/lib/Frontend",
"//clang/lib/Headers",
"//clang/lib/Sema",
"//clang/lib/Tooling",
"//clang/lib/Tooling/Core",
"//llvm/lib/Support",
]
if (clangd_build_xpc) {
deps += [
"//clang-tools-extra/clangd/xpc:conversions",
"//clang-tools-extra/clangd/xpc:transport",
]
}
include_dirs = [ ".." ]
sources = [
"Check.cpp",
"ClangdMain.cpp",
]
}