diff options
author | Thomas Colthurst <thomaswc@google.com> | 2018-05-29 18:26:11 -0400 |
---|---|---|
committer | Thomas Colthurst <thomaswc@google.com> | 2018-05-30 10:33:02 -0400 |
commit | 7c6514245b6e256cc97dd31a6da1e2c72de487e6 (patch) | |
tree | 275ae5a08d02048d24cd230176d8db053deb189c /BUILD | |
parent | 7d1a8fff1b424e63f6bbdd1f9f828f6f9f40e84f (diff) |
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
@@ -689,6 +689,7 @@ cc_binary( linkstatic = 1, deps = [ ":protobuf", + ":proto_api", ] + select({ "//conditions:default": [], ":use_fast_cpp_protos": ["//external:python_headers"], @@ -831,6 +832,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)", |