aboutsummaryrefslogtreecommitdiff
path: root/util/python/BUILD
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2015-12-10 09:41:51 -0800
committerJoshua Haberman <jhaberman@gmail.com>2015-12-10 09:41:51 -0800
commit014b9012d32c6409bf2f4f13ff4608a2cbc7cb9a (patch)
tree846db441878b248824bb1d46fe10c880e7b4d06a /util/python/BUILD
parent9cbf40873d7093c832b038b2070426a9d7383e9c (diff)
parent96537c461af6bb7d27e2a87560718c6a0bfd1032 (diff)
downloadprotobuf-014b9012d32c6409bf2f4f13ff4608a2cbc7cb9a.tar.gz
protobuf-014b9012d32c6409bf2f4f13ff4608a2cbc7cb9a.tar.bz2
protobuf-014b9012d32c6409bf2f4f13ff4608a2cbc7cb9a.zip
Merge pull request #1029 from keveman/master
Enable fast cpp protos in the python interface.
Diffstat (limited to 'util/python/BUILD')
-rw-r--r--util/python/BUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/python/BUILD b/util/python/BUILD
new file mode 100644
index 00000000..358c381c
--- /dev/null
+++ b/util/python/BUILD
@@ -0,0 +1,8 @@
+# This is a placeholder for python headers. Projects needing to use
+# fast cpp protos in protobuf's python interface should build with
+# --define=use_fast_cpp_protos=true, and in addition, provide
+# //util/python:python_headers dependency that in turn provides Python.h.
+cc_library(
+ name = "python_headers",
+ visibility = ["//visibility:public"],
+)