BUILD.bazel 8.8 KB

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