-
Notifications
You must be signed in to change notification settings - Fork 582
/
BUILD.bazel
29 lines (26 loc) · 930 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
28
29
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
# gazelle:prefix github.com/envoyproxy/protoc-gen-validate
# gazelle:exclude tests
# gazelle:exclude example-workspace
# gazelle:exclude validate/validate.h
# gazelle:go_naming_convention import_alias
gazelle(name = "gazelle")
go_binary(
name = "protoc-gen-validate",
embed = [":protoc-gen-validate_lib"],
importpath = "github.com/envoyproxy/protoc-gen-validate",
visibility = ["//visibility:public"],
)
go_library(
name = "protoc-gen-validate_lib",
srcs = ["main.go"],
importpath = "github.com/envoyproxy/protoc-gen-validate",
visibility = ["//visibility:private"],
deps = [
"//module",
"@com_github_lyft_protoc_gen_star_v2//:protoc-gen-star",
"@com_github_lyft_protoc_gen_star_v2//lang/go",
"@org_golang_google_protobuf//types/pluginpb",
],
)