forked from uber/prototool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
27 lines (25 loc) · 956 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["reflect.go"],
importpath = "github.com/uber/prototool/internal/reflect",
visibility = ["//:__subpackages__"],
deps = [
"//internal/reflect/gen/uber/proto/reflect/v1:go_default_library",
"//internal/strs:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
"@com_github_golang_protobuf//protoc-gen-go/descriptor:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["reflect_test.go"],
data = glob(["testdata/**"]),
embed = [":go_default_library"],
deps = [
"//internal/reflect/gen/uber/proto/reflect/v1:go_default_library",
"//internal/testing:go_default_library",
"@com_github_golang_protobuf//jsonpb:go_default_library",
"@com_github_stretchr_testify//require:go_default_library",
],
)