[clangd] Fix remote-server build and add it to check-clangd

Differential Revision: https://reviews.llvm.org/D90047
This commit is contained in:
Kadir Cetinkaya 2020-10-23 16:36:52 +02:00
parent 69e2797eae
commit 5dd39923a0
No known key found for this signature in database
GPG key ID: E39E36B8D2057ED6
2 changed files with 4 additions and 2 deletions

View file

@ -33,8 +33,6 @@
#include <memory>
#include <thread>
#include "Index.grpc.pb.h"
namespace clang {
namespace clangd {
namespace remote {

View file

@ -21,6 +21,10 @@ if(CLANGD_BUILD_XPC)
list(APPEND CLANGD_TEST_DEPS ClangdXpcUnitTests)
endif()
if(CLANGD_ENABLE_REMOTE)
list(APPEND CLANGD_TEST_DEPS clangd-index-server)
endif()
foreach(dep FileCheck count not llvm-config)
if(TARGET ${dep})
list(APPEND CLANGD_TEST_DEPS ${dep})