From 6837b2dcb7e19c1bda8d5c6f1bd656cb35688224 Mon Sep 17 00:00:00 2001 From: Manjunath Kudlur Date: Thu, 2 Mar 2017 18:02:05 -0800 Subject: Added comment explaining the protobuf_headers target. --- BUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BUILD') diff --git a/BUILD b/BUILD index 4a60872b..3f51f597 100644 --- a/BUILD +++ b/BUILD @@ -181,6 +181,10 @@ cc_library( deps = [":protobuf_lite"], ) +# This provides just the header files for use in projects that need to build +# shared libraries for dynamic loading. This target is available until Bazel +# adds native support for such use cases. +# TODO(keveman): Remove this target once the support gets added to Bazel. cc_library( name = "protobuf_headers", hdrs = glob(["src/**/*.h"]), -- cgit v1.2.3