BUILD 909 B

123456789101112131415161718192021222324252627282930
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. load("@rules_cc//cc:defs.bzl", "cc_binary")
  5. package(default_visibility = [
  6. "//language_server:__subpackages__",
  7. ])
  8. cc_binary(
  9. name = "language_server",
  10. srcs = [
  11. "language_server.cpp",
  12. "language_server.h",
  13. "main.cpp",
  14. ],
  15. # Some parameters are unused in clangd headers.
  16. copts = ["-Wno-unused-parameter"],
  17. deps = [
  18. "//common:error",
  19. "//toolchain/diagnostics:null_diagnostics",
  20. "//toolchain/lex:tokenized_buffer",
  21. "//toolchain/parse:node_kind",
  22. "//toolchain/parse:tree",
  23. "//toolchain/source:source_buffer",
  24. "@llvm-project//clang-tools-extra/clangd:clangd_library",
  25. "@llvm-project//llvm:Support",
  26. ],
  27. )