diff options
author | Jakob Buchgraber <buchgr@google.com> | 2017-05-30 15:49:37 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-05-30 15:59:48 +0200 |
commit | 84a8e95910f069dd03a19b0fc634f95bb0beac95 (patch) | |
tree | d3a5cd8e259799e36834b247194c2d1aa3163e16 /third_party/googleapis/BUILD | |
parent | c7696b47a4a12b1e56e41246770cbd44ad1c9c3e (diff) |
Introduce third_party/googleapis
Add `https://github.com/googleapis/googleapis` as a third_party
dependency at commit `001f6702ac4cd72194a5120ff978fcfa740783d6`.
These protos are required for the upcoming open sourcing of the BES
protocol code.
Additionally, add (java_)proto_library() rules for the protobufs
required by the BES protocol.
Change-Id: Ie78a9941a62f2085a58ad859c91161885e6f390d
Diffstat (limited to 'third_party/googleapis/BUILD')
-rw-r--r-- | third_party/googleapis/BUILD | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/third_party/googleapis/BUILD b/third_party/googleapis/BUILD new file mode 100644 index 0000000000..a501894db6 --- /dev/null +++ b/third_party/googleapis/BUILD @@ -0,0 +1,126 @@ +licenses(["notice"]) + +exports_files(["LICENSE"]) + +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//third_party:__pkg__"], +) + +java_proto_library( + name = "google_devtools_build_v1_build_status_java_proto", + visibility = ["//visibility:public"], + deps = [":google_devtools_build_v1_build_status_proto"], +) + +java_proto_library( + name = "google_devtools_build_v1_build_events_java_proto", + visibility = ["//visibility:public"], + deps = [":google_devtools_build_v1_build_events_proto"], +) + +java_proto_library( + name = "google_devtools_build_v1_publish_build_event_java_proto", + visibility = ["//visibility:public"], + deps = [":google_devtools_build_v1_publish_build_event_proto"], +) + +java_proto_library( + name = "google_bytestream_bytestream_java_proto", + visibility = ["//visibility:public"], + deps = [":google_bytestream_bytestream_proto"], +) + +java_proto_library( + name = "google_longrunning_operations_java_proto", + visibility = ["//visibility:public"], + deps = [":google_longrunning_operations_proto"], +) + +proto_library( + name = "google_bytestream_bytestream_proto", + srcs = ["google/bytestream/bytestream.proto"], + visibility = ["//visibility:public"], + deps = [ + ":google_api_annotations_proto", + "@com_google_protobuf//:well_known_types_wrappers_proto", + ], +) + +proto_library( + name = "google_longrunning_operations_proto", + srcs = ["google/longrunning/operations.proto"], + visibility = ["//visibility:public"], + deps = [ + ":google_api_annotations_proto", + ":google_api_http_proto", + ":google_rpc_status_proto", + "@com_google_protobuf//:well_known_types_any_proto", + "@com_google_protobuf//:well_known_types_empty_proto", + ], +) + +proto_library( + name = "google_devtools_build_v1_build_status_proto", + srcs = ["google/devtools/build/v1/build_status.proto"], + visibility = ["//visibility:public"], + deps = [ + ":google_api_annotations_proto", + "@com_google_protobuf//:well_known_types_any_proto", + ], +) + +proto_library( + name = "google_devtools_build_v1_build_events_proto", + srcs = ["google/devtools/build/v1/build_events.proto"], + visibility = ["//visibility:public"], + deps = [ + ":google_api_annotations_proto", + ":google_devtools_build_v1_build_status_proto", + ":google_rpc_status_proto", + "@com_google_protobuf//:well_known_types_any_proto", + "@com_google_protobuf//:well_known_types_timestamp_proto", + "@com_google_protobuf//:well_known_types_wrappers_proto", + ], +) + +proto_library( + name = "google_devtools_build_v1_publish_build_event_proto", + srcs = ["google/devtools/build/v1/publish_build_event.proto"], + visibility = ["//visibility:public"], + deps = [ + ":google_api_annotations_proto", + ":google_api_auth_proto", + ":google_devtools_build_v1_build_events_proto", + "@com_google_protobuf//:well_known_types_any_proto", + "@com_google_protobuf//:well_known_types_duration_proto", + "@com_google_protobuf//:well_known_types_empty_proto", + ], +) + +proto_library( + name = "google_api_annotations_proto", + srcs = ["google/api/annotations.proto"], + deps = [ + ":google_api_http_proto", + "@com_google_protobuf//:well_known_types_descriptor_proto", + ], +) + +proto_library( + name = "google_api_http_proto", + srcs = ["google/api/http.proto"], +) + +proto_library( + name = "google_rpc_status_proto", + srcs = ["google/rpc/status.proto"], + deps = ["@com_google_protobuf//:well_known_types_any_proto"], +) + +proto_library( + name = "google_api_auth_proto", + srcs = ["google/api/auth.proto"], + deps = [":google_api_annotations_proto"], +) |