Skip to content

Commit

Permalink
Merge pull request protocolbuffers#930 from pherl/bazel_test
Browse files Browse the repository at this point in the history
add warning notes for cc|py_proto_library rules.
  • Loading branch information
liujisi committed Nov 2, 2015
2 parents ec9f45b + d4bef7d commit aa36754
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions protobuf.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ def cc_proto_library(
**kargs):
"""Bazel rule to create a C++ protobuf library from proto source files
NOTE: the rule is only an internal workaround to generate protos. The
interface may change and the rule may be removed when bazel has introduced
the native rule.
Args:
name: the name of the cc_proto_library.
srcs: the .proto files of the cc_proto_library.
Expand Down Expand Up @@ -207,6 +211,10 @@ def py_proto_library(
**kargs):
"""Bazel rule to create a Python protobuf library from proto source files
NOTE: the rule is only an internal workaround to generate protos. The
interface may change and the rule may be removed when bazel has introduced
the native rule.
Args:
name: the name of the py_proto_library.
srcs: the .proto files of the py_proto_library.
Expand Down

0 comments on commit aa36754

Please sign in to comment.