From d4bef7d41b684adddd77bc255407ac968f0c163e Mon Sep 17 00:00:00 2001 From: Jisi Liu Date: Mon, 2 Nov 2015 12:24:32 -0800 Subject: add warning notes for cc|py_proto_library rules. To mention that the interface may change or be removed when bazel has support it natively. --- protobuf.bzl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'protobuf.bzl') 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. -- cgit v1.2.3