Browse Source

Merge pull request #2436 from cgrushko/patch-1

Add a proto_lang_toolchain() for cc_proto_library
Feng Xiao 8 years ago
parent
commit
4280c27403
1 changed files with 7 additions and 0 deletions
  1. 7 0
      BUILD

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