kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/util/kytheuri/BUILD (about) 1 load("//tools:build_rules/shims.bzl", "go_library", "go_test") 2 3 # N.B. This package is given proto visibility although it is not a proto, 4 # because it is impractical to use the Kythe protos without ticket support. 5 package(default_visibility = ["//kythe:proto_visibility"]) 6 7 go_library( 8 name = "kytheuri", 9 srcs = [ 10 "escape.go", 11 "uri.go", 12 ], 13 importpath = "kythe.io/kythe/go/util/kytheuri", 14 deps = [ 15 "//kythe/proto:common_go_proto", 16 "//kythe/proto:storage_go_proto", 17 ], 18 ) 19 20 go_test( 21 name = "kytheuri_test", 22 size = "small", 23 srcs = [ 24 "bench_test.go", 25 "uri_test.go", 26 ], 27 library = ":kytheuri", 28 visibility = ["//visibility:private"], 29 deps = [ 30 "//kythe/proto:common_go_proto", 31 "//kythe/proto:storage_go_proto", 32 "@org_golang_google_protobuf//proto", 33 ], 34 )