浏览代码

Added util/python/BUILD to provide //util/python:python_headers dependency for building use_fast_cpp_protos

Manjunath Kudlur 10 年之前
父节点
当前提交
7b311afc3e
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      util/python/BUILD

+ 8 - 0
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"],
+)