diff options
author | Jakob Buchgraber <buchgr@google.com> | 2017-09-05 17:15:10 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-09-05 22:33:54 +0200 |
commit | 699c0eb9cf6573f3a00b4db61f60aff92dc3dd7a (patch) | |
tree | f8a1f6f97bdea7d0680e65a65a558b3693997e1d /protobuf.pc.in | |
parent | 6699f2cf64c656d96f4d6f93fa9563faf02e94b4 (diff) | |
download | protobuf-699c0eb9cf6573f3a00b4db61f60aff92dc3dd7a.tar.gz protobuf-699c0eb9cf6573f3a00b4db61f60aff92dc3dd7a.tar.bz2 protobuf-699c0eb9cf6573f3a00b4db61f60aff92dc3dd7a.zip |
bazel: Add proto_library rules for well known types. Fixes #2763
Adds a proto_library rule for each well known type proto:
$ bazel query "filter(\".*_proto$\", \"...\")"
//:wrappers_proto
//:timestamp_proto
//:struct_proto
//:field_mask_proto
//:empty_proto
//:duration_proto
//:compiler_plugin_proto
//:descriptor_proto
//:api_proto
//:type_proto
//:source_context_proto
//:any_proto
Bazel users can reference these proto_library rules for their own
language specific rules i.e.
java_proto_library(
name = "any_java_proto",
deps = ["@com_google_protobuf//:any_proto"],
)
Also set the workspace name to "com_google_protobuf", as proto_library
rules reference protobuf that way.
Diffstat (limited to 'protobuf.pc.in')
0 files changed, 0 insertions, 0 deletions