diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-06-03 14:54:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 14:54:53 -0700 |
commit | a7252bf42df8f0841cf3a0c85fdbf1a5172adecb (patch) | |
tree | 1faaacdc957f50a0b2f0a8819ca47d93f102cae0 /BUILD | |
parent | 17ab85deab32b09b751aa28ec9ad548236e7128a (diff) | |
parent | 7c6514245b6e256cc97dd31a6da1e2c72de487e6 (diff) | |
download | protobuf-a7252bf42df8f0841cf3a0c85fdbf1a5172adecb.tar.gz |
Merge pull request #4698 from ThomasColthurst/proto_c_api
Introduce Proto C API; based on cl/198113115 by amauryfa
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -671,6 +671,7 @@ cc_binary( linkstatic = 1, deps = [ ":protobuf", + ":proto_api", ] + select({ "//conditions:default": [], ":use_fast_cpp_protos": ["//external:python_headers"], @@ -813,6 +814,15 @@ internal_protobuf_py_tests( deps = [":python_tests"], ) +cc_library( + name = "proto_api", + hdrs = ["python/google/protobuf/proto_api.h"], + deps = [ + ":protobuf_python", + "//external:python_headers", + ], +) + proto_lang_toolchain( name = "cc_toolchain", command_line = "--cpp_out=$(OUT)", |