blob: 8a6dd59237f4a552ecb52a94d7d3c03bb0407b41 [file] [log] [blame]
Brian Silverman3fca9d72016-02-20 02:32:51 -05001licenses(["notice"])
2
Brian Silverman9c614bc2016-02-15 20:20:02 -05003# This is a placeholder for python headers. Projects needing to use
4# fast cpp protos in protobuf's python interface should build with
5# --define=use_fast_cpp_protos=true, and in addition, provide
Austin Schuhf9724442018-10-28 20:30:21 -07006# //external:python_headers dependency that in turn provides Python.h.
7#
8# Projects that include protobuf using a Bazel external repository will need to
9# add a workspace rule to their WORKSPACE files to add an external workspace
10# that includes the Python headers. For example, the protobuf WORKSPACE file
11# includes the following local_repository rule that points to this directory:
12#
13# new_local_repository(
14# name = "python",
15# path = __workspace_dir__ + "/util/python",
16# )
Brian Silverman9c614bc2016-02-15 20:20:02 -050017cc_library(
18 name = "python_headers",
19 visibility = ["//visibility:public"],
20)