diff --git a/BUILD b/BUILD index f17c500a78..7137088e35 100644 --- a/BUILD +++ b/BUILD @@ -749,3 +749,10 @@ internal_protobuf_py_tests( ], deps = [":python_tests"], ) + +proto_lang_toolchain( + name = "cc_toolchain", + runtime = ":protobuf", + command_line = "--cpp_out=$(OUT)", + visibility = ["//visibility:public"], +)