Use proto_library in proto_lang_toolchain.blacklisted_protos

Support for using proto_library in this attribute was added in:
a5ee2c4d97

Legacy support for using .proto files will be removed in a future
version of Bazel.
This commit is contained in:
Liam Miller-Cushon 2019-07-01 12:21:37 -07:00
parent 2b857d0078
commit 7b28278c7d

2
BUILD
View File

@ -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"],