Skip to content

Commit 29ba111

Browse files
authored
Add py_proto_library targets (#452)
Add py_proto_library
1 parent 89c537f commit 29ba111

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

proto/cel/expr/BUILD.bazel

+32
Original file line numberDiff line numberDiff line change
@@ -229,3 +229,35 @@ cc_proto_library(
229229
deprecation = "Use EvalState instead.",
230230
deps = [":explain_proto"],
231231
)
232+
233+
###############################################################################
234+
## Python
235+
###############################################################################
236+
237+
load("@com_google_protobuf//bazel:py_proto_library.bzl", "py_proto_library")
238+
239+
py_proto_library(
240+
name = "syntax_py_pb2",
241+
deps = [":syntax_proto"],
242+
)
243+
244+
py_proto_library(
245+
name = "checked_py_pb2",
246+
deps = [":checked_proto"],
247+
)
248+
249+
py_proto_library(
250+
name = "value_py_pb2",
251+
deps = [":value_proto"],
252+
)
253+
254+
py_proto_library(
255+
name = "eval_py_pb2",
256+
deps = [":eval_proto"],
257+
)
258+
259+
py_proto_library(
260+
name = "explain_py_pb2",
261+
deprecation = "Use EvalState instead.",
262+
deps = [":explain_proto"],
263+
)

0 commit comments

Comments
 (0)