kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/serving/graph/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 = "graph", 8 srcs = [ 9 "columnar.go", 10 "graph.go", 11 ], 12 importpath = "kythe.io/kythe/go/serving/graph", 13 deps = [ 14 "//kythe/go/services/graph", 15 "//kythe/go/services/xrefs", 16 "//kythe/go/serving/graph/columnar", 17 "//kythe/go/storage/keyvalue", 18 "//kythe/go/storage/table", 19 "//kythe/go/util/keys", 20 "//kythe/go/util/kytheuri", 21 "//kythe/go/util/log", 22 "//kythe/go/util/schema", 23 "//kythe/go/util/schema/facts", 24 "//kythe/proto:common_go_proto", 25 "//kythe/proto:graph_go_proto", 26 "//kythe/proto:graph_serving_go_proto", 27 "//kythe/proto:internal_go_proto", 28 "//kythe/proto:schema_go_proto", 29 "//kythe/proto:serving_go_proto", 30 "@org_bitbucket_creachadair_stringset//:stringset", 31 "@org_golang_google_protobuf//proto", 32 "@org_golang_x_net//trace", 33 ], 34 ) 35 36 go_test( 37 name = "graph_test", 38 size = "small", 39 srcs = ["graph_test.go"], 40 library = ":graph", 41 visibility = ["//visibility:private"], 42 deps = [ 43 "//kythe/go/storage/table", 44 "//kythe/go/test/testutil", 45 "//kythe/go/util/kytheuri", 46 "//kythe/proto:common_go_proto", 47 "//kythe/proto:graph_go_proto", 48 "//kythe/proto:serving_go_proto", 49 "@org_bitbucket_creachadair_stringset//:stringset", 50 "@org_golang_google_protobuf//proto", 51 "@org_golang_x_text//encoding", 52 "@org_golang_x_text//encoding/unicode", 53 "@org_golang_x_text//transform", 54 ], 55 ) 56 57 go_test( 58 name = "columnar_test", 59 size = "small", 60 srcs = ["columnar_test.go"], 61 library = ":graph", 62 visibility = ["//visibility:private"], 63 deps = [ 64 "//kythe/go/services/graph", 65 "//kythe/go/serving/graph/columnar", 66 "//kythe/go/storage/inmemory", 67 "//kythe/go/storage/keyvalue", 68 "//kythe/go/util/compare", 69 "//kythe/go/util/kytheuri", 70 "//kythe/go/util/schema/edges", 71 "//kythe/go/util/schema/facts", 72 "//kythe/go/util/schema/nodes", 73 "//kythe/proto:common_go_proto", 74 "//kythe/proto:graph_go_proto", 75 "//kythe/proto:graph_serving_go_proto", 76 "//kythe/proto:schema_go_proto", 77 "//kythe/proto:storage_go_proto", 78 ], 79 )