xref: /aosp_15_r20/external/googleapis/google/bytestream/BUILD.bazel (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1# This file was automatically generated by BuildFileGenerator
2# https://github.com/googleapis/rules_gapic/tree/master/bazel
3
4# Most of the manual changes to this file will be overwritten.
5# It's **only** allowed to change the following rule attribute values:
6# - names of *_gapic_assembly_* rules
7# - certain parameters of *_gapic_library rules, including but not limited to:
8#    * extra_protoc_parameters
9#    * extra_protoc_file_parameters
10# The complete list of preserved parameters can be found in the source code.
11
12# This is an API workspace, having public visibility by default makes perfect sense.
13package(default_visibility = ["//visibility:public"])
14
15##############################################################################
16# Common
17##############################################################################
18load("@rules_proto//proto:defs.bzl", "proto_library")
19load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
20
21proto_library(
22    name = "bytestream_proto",
23    srcs = [
24        "bytestream.proto",
25    ],
26)
27
28proto_library_with_info(
29    name = "bytestream_proto_with_info",
30    deps = [
31        ":bytestream_proto",
32        "//google/cloud:common_resources_proto",
33    ],
34)
35
36##############################################################################
37# Java
38##############################################################################
39load(
40    "@com_google_googleapis_imports//:imports.bzl",
41    "java_grpc_library",
42    "java_proto_library",
43)
44
45java_proto_library(
46    name = "bytestream_java_proto",
47    deps = [":bytestream_proto"],
48)
49
50java_grpc_library(
51    name = "bytestream_java_grpc",
52    srcs = [":bytestream_proto"],
53    deps = [":bytestream_java_proto"],
54)
55
56##############################################################################
57# Go
58##############################################################################
59load(
60    "@com_google_googleapis_imports//:imports.bzl",
61    "go_proto_library",
62)
63
64go_proto_library(
65    name = "bytestream_go_proto",
66    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
67    importpath = "google.golang.org/genproto/googleapis/bytestream",
68    protos = [":bytestream_proto"],
69)
70
71##############################################################################
72# Python
73##############################################################################
74
75##############################################################################
76# PHP
77##############################################################################
78load(
79    "@com_google_googleapis_imports//:imports.bzl",
80    "php_proto_library",
81)
82
83php_proto_library(
84    name = "bytestream_php_proto",
85    deps = [":bytestream_proto"],
86)
87
88##############################################################################
89# Node.js
90##############################################################################
91
92##############################################################################
93# Ruby
94##############################################################################
95load(
96    "@com_google_googleapis_imports//:imports.bzl",
97    "ruby_grpc_library",
98    "ruby_proto_library",
99)
100
101ruby_proto_library(
102    name = "bytestream_ruby_proto",
103    deps = [":bytestream_proto"],
104)
105
106ruby_grpc_library(
107    name = "bytestream_ruby_grpc",
108    srcs = [":bytestream_proto"],
109    deps = [":bytestream_ruby_proto"],
110)
111
112##############################################################################
113# C#
114##############################################################################
115load(
116    "@com_google_googleapis_imports//:imports.bzl",
117    "csharp_grpc_library",
118    "csharp_proto_library",
119)
120
121csharp_proto_library(
122    name = "bytestream_csharp_proto",
123    extra_opts = [],
124    deps = [":bytestream_proto"],
125)
126
127csharp_grpc_library(
128    name = "bytestream_csharp_grpc",
129    srcs = [":bytestream_proto"],
130    deps = [":bytestream_csharp_proto"],
131)
132
133##############################################################################
134# C++
135##############################################################################
136load(
137    "@com_google_googleapis_imports//:imports.bzl",
138    "cc_grpc_library",
139    "cc_proto_library",
140)
141
142cc_proto_library(
143    name = "bytestream_cc_proto",
144    deps = [":bytestream_proto"],
145)
146
147cc_grpc_library(
148    name = "bytestream_cc_grpc",
149    srcs = [":bytestream_proto"],
150    grpc_only = True,
151    deps = [":bytestream_cc_proto"],
152)
153