kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/govname/BUILD (about) 1 load("//:visibility.bzl", "PUBLIC_VISIBILITY") 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 = "govname", 8 srcs = [ 9 "govname.go", 10 "types.go", 11 ], 12 importpath = "kythe.io/kythe/go/extractors/govname", 13 visibility = [PUBLIC_VISIBILITY], 14 deps = [ 15 "//kythe/go/util/log", 16 "//kythe/go/util/vnameutil", 17 "//kythe/proto:storage_go_proto", 18 "@org_golang_x_tools_go_vcs//:vcs", 19 ], 20 ) 21 22 go_test( 23 name = "govname_test", 24 size = "small", 25 srcs = ["govname_test.go"], 26 library = ":govname", 27 tags = ["local"], 28 visibility = ["//visibility:private"], 29 deps = [ 30 "//kythe/go/util/kytheuri", 31 "//kythe/go/util/vnameutil", 32 "//kythe/proto:storage_go_proto", 33 "@org_golang_google_protobuf//proto", 34 "@org_golang_x_tools_go_vcs//:vcs", 35 ], 36 )