forked from google/cel-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
47 lines (40 loc) · 1.09 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
package(
default_visibility = ["//visibility:public"],
)
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
proto_library(
name = "envcheck_proto",
srcs = [ "envcheck.proto" ],
deps = [
"@com_google_googleapis//google/api/expr/v1alpha1:checked_proto",
],
)
proto_library(
name = "simple_proto",
srcs = [
"simple.proto",
],
deps = [
"@com_google_googleapis//google/api/expr/v1alpha1:checked_proto",
"@com_google_googleapis//google/api/expr/v1alpha1:eval_proto",
"@com_google_googleapis//google/api/expr/v1alpha1:value_proto",
"@com_google_protobuf//:empty_proto",
],
)
cc_proto_library(
name = "simple_cc_proto",
deps = [":simple_proto",],
)
go_proto_library(
name = "testpb_go_proto",
protos = [
":envcheck_proto",
":simple_proto",
],
importpath = "github.com/google/cel-spec/proto/test/v1/testpb",
deps = [
"@org_golang_google_genproto//googleapis/api/expr/v1alpha1:go_default_library",
],
)