BUILD 880 B

12345678910111213141516171819202122232425262728
  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. package(default_visibility = [
  5. "//language_server:__subpackages__",
  6. ])
  7. cc_binary(
  8. name = "language_server",
  9. srcs = [
  10. "language_server.cpp",
  11. "language_server.h",
  12. "main.cpp",
  13. ],
  14. # Some parameters are unused in clangd headers.
  15. copts = ["-Wno-unused-parameter"],
  16. deps = [
  17. "//common:error",
  18. "//toolchain/diagnostics:null_diagnostics",
  19. "//toolchain/lexer:tokenized_buffer",
  20. "//toolchain/parser:parse_node_kind",
  21. "//toolchain/parser:parse_tree",
  22. "//toolchain/source:source_buffer",
  23. "@llvm-project//clang-tools-extra/clangd:clangd_library",
  24. "@llvm-project//llvm:Support",
  25. ],
  26. )