aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jisi Liu <liujisi@google.com>2015-11-02 15:02:39 -0800
committerGravatar Jisi Liu <liujisi@google.com>2015-11-02 15:02:39 -0800
commitaa3675415ec8da317793a3e151e44daaebc21ff8 (patch)
tree43e6b2f897b7d2fd5c3b70b0a354dd3c8eb1d759
parentec9f45b106e8c1f89f994a7229e74aee41804a4f (diff)
parentd4bef7d41b684adddd77bc255407ac968f0c163e (diff)
Merge pull request #930 from pherl/bazel_test
add warning notes for cc|py_proto_library rules.
-rw-r--r--protobuf.bzl8
1 files changed, 8 insertions, 0 deletions
diff --git a/protobuf.bzl b/protobuf.bzl
index e8bc455b..9ed7c54a 100644
--- a/protobuf.bzl
+++ b/protobuf.bzl
@@ -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.
@@ -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.