mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 20:40:15 +01:00
Continuing with #3070. Just a dir and file rename (only prefix change is lexer_file_test). Everything in the lex dir should be marked as a move. Note, I think this closes #3070. There may still be further cleanup later, but the organizational changes suggested there are being completed. --------- Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
31 lines
909 B
Python
31 lines
909 B
Python
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
|
|
|
package(default_visibility = [
|
|
"//language_server:__subpackages__",
|
|
])
|
|
|
|
cc_binary(
|
|
name = "language_server",
|
|
srcs = [
|
|
"language_server.cpp",
|
|
"language_server.h",
|
|
"main.cpp",
|
|
],
|
|
# Some parameters are unused in clangd headers.
|
|
copts = ["-Wno-unused-parameter"],
|
|
deps = [
|
|
"//common:error",
|
|
"//toolchain/diagnostics:null_diagnostics",
|
|
"//toolchain/lex:tokenized_buffer",
|
|
"//toolchain/parse:node_kind",
|
|
"//toolchain/parse:tree",
|
|
"//toolchain/source:source_buffer",
|
|
"@llvm-project//clang-tools-extra/clangd:clangd_library",
|
|
"@llvm-project//llvm:Support",
|
|
],
|
|
)
|