BUILD.bazel 5.1 KB

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