aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/python/BUILD
diff options
context:
space:
mode:
authorGravatar Manjunath Kudlur <keveman@gmail.com>2015-12-08 09:51:14 -0800
committerGravatar Manjunath Kudlur <keveman@gmail.com>2015-12-08 09:51:14 -0800
commit7b311afc3eaedad2a3f094b545de647f508a7845 (patch)
tree3b0795634b48166c486bb12622a87e9e766ef271 /util/python/BUILD
parenta19492152737181172656c1152502c5bc6a55386 (diff)
Added util/python/BUILD to provide //util/python:python_headers dependency for building use_fast_cpp_protos
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"],
+)