kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/serving/xrefs/BUILD (about) 1 # gazelle:go_test file 2 load("//tools:build_rules/shims.bzl", "go_library", "go_test") 3 4 package(default_visibility = ["//kythe:default_visibility"]) 5 6 go_library( 7 name = "xrefs", 8 srcs = [ 9 "columnar.go", 10 "xrefs.go", 11 "xrefs_filter.go", 12 ], 13 importpath = "kythe.io/kythe/go/serving/xrefs", 14 deps = [ 15 "//kythe/go/services/xrefs", 16 "//kythe/go/serving/xrefs/columnar", 17 "//kythe/go/storage/keyvalue", 18 "//kythe/go/storage/table", 19 "//kythe/go/util/flagutil", 20 "//kythe/go/util/keys", 21 "//kythe/go/util/kytheuri", 22 "//kythe/go/util/log", 23 "//kythe/go/util/schema", 24 "//kythe/go/util/schema/edges", 25 "//kythe/go/util/schema/facts", 26 "//kythe/go/util/schema/tickets", 27 "//kythe/go/util/span", 28 "//kythe/proto:common_go_proto", 29 "//kythe/proto:internal_go_proto", 30 "//kythe/proto:schema_go_proto", 31 "//kythe/proto:serving_go_proto", 32 "//kythe/proto:xref_go_proto", 33 "//kythe/proto:xref_serving_go_proto", 34 "@com_github_golang_snappy//:snappy", 35 "@com_github_google_codesearch//index", 36 "@org_bitbucket_creachadair_stringset//:stringset", 37 "@org_golang_google_grpc//codes", 38 "@org_golang_google_grpc//status", 39 "@org_golang_google_protobuf//proto", 40 "@org_golang_x_net//trace", 41 "@org_golang_x_sync//errgroup", 42 ], 43 ) 44 45 go_test( 46 name = "xrefs_test", 47 size = "small", 48 srcs = [ 49 "xrefs_test.go", 50 ], 51 library = "xrefs", 52 visibility = ["//visibility:private"], 53 deps = [ 54 "//kythe/go/services/xrefs", 55 "//kythe/go/storage/table", 56 "//kythe/go/test/testutil", 57 "//kythe/go/util/compare", 58 "//kythe/go/util/kytheuri", 59 "//kythe/go/util/span", 60 "//kythe/proto:common_go_proto", 61 "//kythe/proto:serving_go_proto", 62 "//kythe/proto:xref_go_proto", 63 "@com_github_google_codesearch//index", 64 "@org_bitbucket_creachadair_stringset//:stringset", 65 "@org_golang_google_protobuf//encoding/prototext", 66 "@org_golang_google_protobuf//proto", 67 "@org_golang_x_text//encoding", 68 "@org_golang_x_text//encoding/unicode", 69 "@org_golang_x_text//transform", 70 ], 71 ) 72 73 go_test( 74 name = "columnar_test", 75 size = "small", 76 srcs = ["columnar_test.go"], 77 library = ":xrefs", 78 visibility = ["//visibility:private"], 79 deps = [ 80 "//kythe/go/services/xrefs", 81 "//kythe/go/serving/xrefs/columnar", 82 "//kythe/go/storage/inmemory", 83 "//kythe/go/storage/keyvalue", 84 "//kythe/go/util/compare", 85 "//kythe/go/util/kytheuri", 86 "//kythe/go/util/schema/facts", 87 "//kythe/proto:common_go_proto", 88 "//kythe/proto:schema_go_proto", 89 "//kythe/proto:serving_go_proto", 90 "//kythe/proto:storage_go_proto", 91 "//kythe/proto:xref_go_proto", 92 "//kythe/proto:xref_serving_go_proto", 93 ], 94 )