kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/languageserver/BUILD (about) 1 load("//tools:build_rules/shims.bzl", "go_library", "go_test") 2 3 package(default_visibility = ["//kythe:default_visibility"]) 4 5 alias( 6 name = "kythe_languageserver", 7 actual = "//kythe/go/languageserver/bin", 8 ) 9 10 go_library( 11 name = "languageserver", 12 srcs = [ 13 "document.go", 14 "handler.go", 15 "languageserver.go", 16 "settingsworkspace.go", 17 "workspace.go", 18 ], 19 importpath = "kythe.io/kythe/go/languageserver", 20 deps = [ 21 "//kythe/go/languageserver/pathmap", 22 "//kythe/go/services/xrefs", 23 "//kythe/go/util/kytheuri", 24 "//kythe/go/util/log", 25 "//kythe/go/util/markedsource", 26 "//kythe/proto:common_go_proto", 27 "//kythe/proto:xref_go_proto", 28 "@com_github_sergi_go_diff//diffmatchpatch", 29 "@com_github_sourcegraph_go_langserver//pkg/lsp", 30 "@com_github_sourcegraph_jsonrpc2//:jsonrpc2", 31 ], 32 ) 33 34 go_test( 35 name = "languageserver_test", 36 size = "small", 37 srcs = [ 38 "document_test.go", 39 "languageserver_test.go", 40 "workspace_test.go", 41 ], 42 library = ":languageserver", 43 visibility = ["//visibility:private"], 44 deps = [ 45 "//kythe/go/test/testutil", 46 "//kythe/go/util/kytheuri", 47 "//kythe/proto:common_go_proto", 48 "//kythe/proto:graph_go_proto", 49 "//kythe/proto:xref_go_proto", 50 "@com_github_sourcegraph_go_langserver//pkg/lsp", 51 ], 52 )