1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Update GN files to build with r358103

llvm-svn: 358790
This commit is contained in:
Vitaly Buka 2019-04-19 22:27:50 +00:00
parent ffcbe1a0a8
commit e7a16d2932
3 changed files with 14 additions and 2 deletions

View File

@ -19,6 +19,7 @@ static_library("clangd") {
"//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",
@ -37,7 +38,12 @@ static_library("clangd") {
"//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",

View File

@ -13,6 +13,7 @@ write_cmake_config("features") {
}
}
executable("clangd") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [

View File

@ -20,7 +20,12 @@ unittest("ClangdTests") {
"//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",