| 1 |
load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 2 |
|
| 3 |
go_library( |
| 4 |
name = "module", |
| 5 |
srcs = [ |
| 6 |
"checker.go", |
| 7 |
"validate.go", |
| 8 |
], |
| 9 |
importpath = "github.com/envoyproxy/protoc-gen-validate/module", |
| 10 |
visibility = ["//visibility:public"], |
| 11 |
deps = [ |
| 12 |
"//templates", |
| 13 |
"//templates/java", |
| 14 |
"//validate:validate_go", |
| 15 |
"@com_github_lyft_protoc_gen_star_v2//:protoc-gen-star", |
| 16 |
"@com_github_lyft_protoc_gen_star_v2//lang/go", |
| 17 |
"@org_golang_google_protobuf//proto", |
| 18 |
"@org_golang_google_protobuf//types/known/durationpb", |
| 19 |
"@org_golang_google_protobuf//types/known/timestamppb", |
| 20 |
], |
| 21 |
) |
| 22 |
|
| 23 |
alias( |
| 24 |
name = "go_default_library", |
| 25 |
actual = ":module", |
| 26 |
deprecation = "Use :module instead of :go_default_library. Details about the new naming convention: https://github.com/bazelbuild/bazel-gazelle/pull/863", |
| 27 |
visibility = ["//visibility:public"], |
| 28 |
) |