forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD
68 lines (63 loc) · 2.01 KB
/
BUILD
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
load("@rules_python//python:defs.bzl", "py_binary", "py_test")
licenses(["notice"]) # Apache 2
py_binary(
name = "merge_active_shadow",
srcs = ["merge_active_shadow.py"],
deps = [
"//tools/api_proto_plugin",
"@com_envoyproxy_protoc_gen_validate//validate:validate_py",
"@com_github_cncf_udpa//udpa/annotations:pkg_py_proto",
"@com_google_googleapis//google/api:annotations_py_proto",
"@com_google_protobuf//:protobuf_python",
"@envoy_api_canonical//envoy/annotations:pkg_py_proto",
],
)
py_test(
name = "merge_active_shadow_test",
srcs = ["merge_active_shadow_test.py"],
deps = [
":merge_active_shadow",
"//tools/api_proto_plugin",
"@com_google_protobuf//:protobuf_python",
],
)
py_binary(
name = "protoxform",
srcs = [
"migrate.py",
"options.py",
"protoxform.py",
"utils.py",
],
visibility = ["//visibility:public"],
deps = [
"//tools/api_proto_plugin",
"//tools/type_whisperer:api_type_db_proto_py_proto",
"@com_envoyproxy_protoc_gen_validate//validate:validate_py",
"@com_github_cncf_udpa//udpa/annotations:pkg_py_proto",
"@com_google_googleapis//google/api:annotations_py_proto",
"@envoy_api_canonical//envoy/annotations:pkg_py_proto",
],
)
py_binary(
name = "protoprint",
srcs = [
"options.py",
"protoprint.py",
"utils.py",
],
data = [
"//:.clang-format",
"//tools/type_whisperer:api_type_db.pb_text",
],
visibility = ["//visibility:public"],
deps = [
"//tools/type_whisperer",
"//tools/type_whisperer:api_type_db_proto_py_proto",
"@com_envoyproxy_protoc_gen_validate//validate:validate_py",
"@com_github_cncf_udpa//udpa/annotations:pkg_py_proto",
"@com_google_googleapis//google/api:annotations_py_proto",
"@com_google_protobuf//:protobuf_python",
"@envoy_api_canonical//envoy/annotations:pkg_py_proto",
],
)