BUILD.bazel 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. # This file was automatically generated by BuildFileGenerator
  2. ##############################################################################
  3. # Common
  4. ##############################################################################
  5. load("@rules_proto//proto:defs.bzl", "proto_library")
  6. load(
  7. "@com_google_googleapis_imports//:imports.bzl",
  8. "csharp_gapic_assembly_pkg",
  9. "csharp_gapic_library",
  10. "csharp_grpc_library",
  11. "csharp_proto_library",
  12. "go_gapic_assembly_pkg",
  13. "go_gapic_library",
  14. "go_proto_library",
  15. "go_test",
  16. "java_gapic_assembly_gradle_pkg",
  17. "java_gapic_library",
  18. "java_gapic_test",
  19. "java_grpc_library",
  20. "java_proto_library",
  21. "nodejs_gapic_assembly_pkg",
  22. "nodejs_gapic_library",
  23. "php_gapic_assembly_pkg",
  24. "php_gapic_library",
  25. "php_grpc_library",
  26. "php_proto_library",
  27. "proto_library_with_info",
  28. "ruby_cloud_gapic_library",
  29. "ruby_gapic_assembly_pkg",
  30. "ruby_grpc_library",
  31. "ruby_proto_library",
  32. )
  33. # This is an API workspace, having public visibility by default makes perfect sense.
  34. package(default_visibility = ["//visibility:public"])
  35. proto_library(
  36. name = "playablelocations_proto",
  37. srcs = [
  38. "playablelocations.proto",
  39. "resources.proto",
  40. ],
  41. deps = [
  42. "//google/api:annotations_proto",
  43. "//google/api:client_proto",
  44. "//google/api:field_behavior_proto",
  45. "//google/maps/playablelocations/v3/sample:resources_proto",
  46. "//google/maps/unity:clientinfo_proto",
  47. "//google/type:latlng_proto",
  48. "@com_google_protobuf//:duration_proto",
  49. "@com_google_protobuf//:field_mask_proto",
  50. ],
  51. )
  52. proto_library_with_info(
  53. name = "playablelocations_proto_with_info",
  54. deps = [
  55. ":playablelocations_proto",
  56. "//google/cloud:common_resources_proto",
  57. ],
  58. )
  59. java_proto_library(
  60. name = "playablelocations_java_proto",
  61. deps = [
  62. ":playablelocations_proto",
  63. "//google/maps/playablelocations/v3/sample:resources_proto",
  64. "//google/maps/unity:clientinfo_proto",
  65. ],
  66. )
  67. java_grpc_library(
  68. name = "playablelocations_java_grpc",
  69. srcs = [":playablelocations_proto"],
  70. deps = [":playablelocations_java_proto"],
  71. )
  72. java_gapic_library(
  73. name = "playablelocations_java_gapic",
  74. srcs = [":playablelocations_proto_with_info"],
  75. grpc_service_config = "playablelocations_grpc_service_config.json",
  76. rest_numeric_enums = False,
  77. test_deps = [
  78. ":playablelocations_java_grpc",
  79. ],
  80. transport = "grpc+rest",
  81. deps = [
  82. ":playablelocations_java_proto",
  83. ],
  84. )
  85. java_gapic_test(
  86. name = "playablelocations_java_gapic_test_suite",
  87. test_classes = [
  88. "com.google.maps.playablelocations.v3.PlayableLocationsClientHttpJsonTest",
  89. "com.google.maps.playablelocations.v3.PlayableLocationsClientTest",
  90. ],
  91. runtime_deps = [":playablelocations_java_gapic_test"],
  92. )
  93. # Open Source Packages
  94. java_gapic_assembly_gradle_pkg(
  95. name = "google-cloud-maps-playablelocations-v3-java",
  96. include_samples = True,
  97. transport = "grpc+rest",
  98. deps = [
  99. ":playablelocations_java_gapic",
  100. ":playablelocations_java_grpc",
  101. ":playablelocations_java_proto",
  102. ":playablelocations_proto",
  103. ],
  104. )
  105. go_proto_library(
  106. name = "playablelocations_go_proto",
  107. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  108. importpath = "google.golang.org/genproto/googleapis/maps/playablelocations/v3",
  109. protos = [":playablelocations_proto"],
  110. deps = [
  111. "//google/api:annotations_go_proto",
  112. "//google/maps/playablelocations/v3/sample:resources_go_proto",
  113. "//google/maps/unity:clientinfo_go_proto",
  114. "//google/type:latlng_go_proto",
  115. ],
  116. )
  117. go_gapic_library(
  118. name = "playablelocations_go_gapic",
  119. srcs = [":playablelocations_proto_with_info"],
  120. grpc_service_config = "playablelocations_grpc_service_config.json",
  121. importpath = "google.golang.org/google/maps/playablelocations/v3;playablelocations",
  122. rest_numeric_enums = False,
  123. service_yaml = "playablelocations_v3.yaml",
  124. transport = "grpc+rest",
  125. deps = [
  126. ":playablelocations_go_proto",
  127. "@io_bazel_rules_go//proto/wkt:duration_go_proto",
  128. ],
  129. )
  130. go_test(
  131. name = "playablelocations_go_gapic_test",
  132. srcs = [":playablelocations_go_gapic_srcjar_test"],
  133. embed = [":playablelocations_go_gapic"],
  134. importpath = "google.golang.org/google/maps/playablelocations/v3",
  135. )
  136. # Open Source Packages
  137. go_gapic_assembly_pkg(
  138. name = "gapi-cloud-maps-playablelocations-v3-go",
  139. deps = [
  140. ":playablelocations_go_gapic",
  141. ":playablelocations_go_gapic_srcjar-test.srcjar",
  142. ":playablelocations_go_proto",
  143. ],
  144. )
  145. php_proto_library(
  146. name = "playablelocations_php_proto",
  147. deps = [":playablelocations_proto"],
  148. )
  149. php_grpc_library(
  150. name = "playablelocations_php_grpc",
  151. srcs = [":playablelocations_proto"],
  152. deps = [":playablelocations_php_proto"],
  153. )
  154. php_gapic_library(
  155. name = "playablelocations_php_gapic",
  156. srcs = [":playablelocations_proto_with_info"],
  157. rest_numeric_enums = False,
  158. transport = "grpc+rest",
  159. deps = [
  160. ":playablelocations_php_grpc",
  161. ":playablelocations_php_proto",
  162. ],
  163. )
  164. # Open Source Packages
  165. php_gapic_assembly_pkg(
  166. name = "google-cloud-maps-playablelocations-v3-php",
  167. deps = [
  168. ":playablelocations_php_gapic",
  169. ":playablelocations_php_grpc",
  170. ":playablelocations_php_proto",
  171. ],
  172. )
  173. nodejs_gapic_library(
  174. name = "playablelocations_nodejs_gapic",
  175. src = ":playablelocations_proto_with_info",
  176. extra_protoc_parameters = ["metadata"],
  177. grpc_service_config = "playablelocations_grpc_service_config.json",
  178. package = "google.maps.playablelocations.v3",
  179. rest_numeric_enums = False,
  180. service_yaml = "playablelocations_v3.yaml",
  181. transport = "grpc+rest",
  182. deps = [],
  183. )
  184. nodejs_gapic_assembly_pkg(
  185. name = "maps-playablelocations-v3-nodejs",
  186. deps = [
  187. ":playablelocations_nodejs_gapic",
  188. ":playablelocations_proto",
  189. ],
  190. )
  191. ruby_proto_library(
  192. name = "playablelocations_ruby_proto",
  193. deps = [":playablelocations_proto"],
  194. )
  195. ruby_grpc_library(
  196. name = "playablelocations_ruby_grpc",
  197. srcs = [":playablelocations_proto"],
  198. deps = [":playablelocations_ruby_proto"],
  199. )
  200. ruby_cloud_gapic_library(
  201. name = "playablelocations_ruby_gapic",
  202. srcs = [":playablelocations_proto_with_info"],
  203. extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-playablelocations-v3"],
  204. rest_numeric_enums = False,
  205. deps = [
  206. ":playablelocations_ruby_grpc",
  207. ":playablelocations_ruby_proto",
  208. ],
  209. )
  210. # Open Source Packages
  211. ruby_gapic_assembly_pkg(
  212. name = "google-cloud-maps-playablelocations-v3-ruby",
  213. deps = [
  214. ":playablelocations_ruby_gapic",
  215. ":playablelocations_ruby_grpc",
  216. ":playablelocations_ruby_proto",
  217. ],
  218. )
  219. csharp_proto_library(
  220. name = "playablelocations_csharp_proto",
  221. deps = [":playablelocations_proto"],
  222. )
  223. csharp_grpc_library(
  224. name = "playablelocations_csharp_grpc",
  225. srcs = [":playablelocations_proto"],
  226. deps = [":playablelocations_csharp_proto"],
  227. )
  228. csharp_gapic_library(
  229. name = "playablelocations_csharp_gapic",
  230. srcs = [":playablelocations_proto_with_info"],
  231. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  232. grpc_service_config = "playablelocations_grpc_service_config.json",
  233. rest_numeric_enums = False,
  234. deps = [
  235. ":playablelocations_csharp_grpc",
  236. ":playablelocations_csharp_proto",
  237. ],
  238. )
  239. # Open Source Packages
  240. csharp_gapic_assembly_pkg(
  241. name = "google-cloud-maps-playablelocations-v3-csharp",
  242. deps = [
  243. ":playablelocations_csharp_gapic",
  244. ":playablelocations_csharp_grpc",
  245. ":playablelocations_csharp_proto",
  246. ],
  247. )
  248. ##############################################################################
  249. # C++
  250. ##############################################################################
  251. # Put your C++ rules here