Commit 7b28278c authored by Liam Miller-Cushon's avatar Liam Miller-Cushon

Use proto_library in proto_lang_toolchain.blacklisted_protos

Support for using proto_library in this attribute was added in:
https://github.com/bazelbuild/bazel/commit/a5ee2c4d979441e663cf53b2ace4daa05e5033d8

Legacy support for using .proto files will be removed in a future
version of Bazel.
parent 2b857d00
......@@ -1012,7 +1012,7 @@ cc_library(
proto_lang_toolchain(
name = "cc_toolchain",
blacklisted_protos = [":_internal_wkt_protos_genrule"],
blacklisted_protos = [proto + "_proto" for proto in WELL_KNOWN_PROTO_MAP.keys()],
command_line = "--cpp_out=$(OUT)",
runtime = ":protobuf",
visibility = ["//visibility:public"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment