Merge pull request #6323 from cushon/toolchain

Use proto_library in proto_lang_toolchain.blacklisted_protos
This commit is contained in:
Yilun Chong 2019-07-08 10:21:19 -07:00 committed by GitHub
commit a96f3af2bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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