"//clang-tools-extra/clang-tidy/portability",
"//clang-tools-extra/clang-tidy/readability",
"//clang-tools-extra/clang-tidy/zircon",
+ "//clang-tools-extra/clangd/tool:features",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
"//llvm/utils/gn/build/libs/atomic",
"//llvm/utils/gn/build/libs/pthread",
]
- include_dirs = [ "." ]
+ include_dirs = [
+ ".",
+
+ # To pick up the generated inc files.
+ "$target_gen_dir/tool",
+ ]
sources = [
"AST.cpp",
"Cancellation.cpp",
"//llvm/lib/Support",
"//llvm/lib/Testing/Support",
]
- include_dirs = [ "//clang-tools-extra/clangd" ]
+ include_dirs = [
+ "//clang-tools-extra/clangd",
+
+ # To pick up the generated inc files.
+ "$target_gen_dir/../../clangd/tool",
+ ]
sources = [
"Annotations.cpp",
"BackgroundIndexTests.cpp",