blob: 3ac03856690e43bba992ea8e5a1047e6435eed61 [file] [log] [blame]
Manjunath Kudlur7b311af2015-12-08 09:51:14 -08001# This is a placeholder for python headers. Projects needing to use
2# fast cpp protos in protobuf's python interface should build with
3# --define=use_fast_cpp_protos=true, and in addition, provide
David Z. Chen985c9682016-02-11 18:11:10 -08004# //external:python_headers dependency that in turn provides Python.h.
5#
6# Projects that include protobuf using a Bazel external repository will need to
7# add a workspace rule to their WORKSPACE files to add an external workspace
8# that includes the Python headers. For example, the protobuf WORKSPACE file
9# includes the following local_repository rule that points to this directory:
10#
11# new_local_repository(
12# name = "python",
13# path = __workspace_dir__ + "/util/python",
14# )
Manjunath Kudlur7b311af2015-12-08 09:51:14 -080015cc_library(
16 name = "python_headers",
17 visibility = ["//visibility:public"],
18)