BUILD.bazel 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  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 = "lifesciences_proto",
  19. srcs = [
  20. "workflows.proto",
  21. ],
  22. deps = [
  23. "//google/api:annotations_proto",
  24. "//google/api:client_proto",
  25. "//google/api:field_behavior_proto",
  26. "//google/longrunning:operations_proto",
  27. "//google/rpc:code_proto",
  28. "@com_google_protobuf//:duration_proto",
  29. "@com_google_protobuf//:timestamp_proto",
  30. ],
  31. )
  32. proto_library_with_info(
  33. name = "lifesciences_proto_with_info",
  34. deps = [
  35. ":lifesciences_proto",
  36. "//google/cloud:common_resources_proto",
  37. ],
  38. )
  39. ##############################################################################
  40. # Java
  41. ##############################################################################
  42. load(
  43. "@com_google_googleapis_imports//:imports.bzl",
  44. "java_gapic_assembly_gradle_pkg",
  45. "java_gapic_library",
  46. "java_gapic_test",
  47. "java_grpc_library",
  48. "java_proto_library",
  49. )
  50. java_proto_library(
  51. name = "lifesciences_java_proto",
  52. deps = [":lifesciences_proto"],
  53. )
  54. java_grpc_library(
  55. name = "lifesciences_java_grpc",
  56. srcs = [":lifesciences_proto"],
  57. deps = [":lifesciences_java_proto"],
  58. )
  59. java_gapic_library(
  60. name = "lifesciences_java_gapic",
  61. srcs = [":lifesciences_proto_with_info"],
  62. grpc_service_config = "lifesciences_grpc_service_config.json",
  63. test_deps = [
  64. ":lifesciences_java_grpc",
  65. ],
  66. deps = [
  67. ":lifesciences_java_proto",
  68. ],
  69. )
  70. java_gapic_test(
  71. name = "lifesciences_java_gapic_test_suite",
  72. test_classes = [
  73. "com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClientTest",
  74. ],
  75. runtime_deps = [":lifesciences_java_gapic_test"],
  76. )
  77. # Open Source Packages
  78. java_gapic_assembly_gradle_pkg(
  79. name = "google-cloud-lifesciences-v2beta-java",
  80. deps = [
  81. ":lifesciences_java_gapic",
  82. ":lifesciences_java_grpc",
  83. ":lifesciences_java_proto",
  84. ":lifesciences_proto",
  85. ],
  86. )
  87. ##############################################################################
  88. # Go
  89. ##############################################################################
  90. load(
  91. "@com_google_googleapis_imports//:imports.bzl",
  92. "go_gapic_assembly_pkg",
  93. "go_gapic_library",
  94. "go_proto_library",
  95. "go_test",
  96. )
  97. go_proto_library(
  98. name = "lifesciences_go_proto",
  99. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  100. importpath = "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta",
  101. protos = [":lifesciences_proto"],
  102. deps = [
  103. "//google/api:annotations_go_proto",
  104. "//google/longrunning:longrunning_go_proto",
  105. "//google/rpc:code_go_proto",
  106. ],
  107. )
  108. go_gapic_library(
  109. name = "lifesciences_go_gapic",
  110. srcs = [":lifesciences_proto_with_info"],
  111. grpc_service_config = "lifesciences_grpc_service_config.json",
  112. importpath = "cloud.google.com/go/lifesciences/apiv2beta;lifesciences",
  113. service_yaml = "lifesciences_v2beta.yaml",
  114. metadata = True,
  115. deps = [
  116. ":lifesciences_go_proto",
  117. "//google/longrunning:longrunning_go_proto",
  118. "@com_google_cloud_go//longrunning/autogen:go_default_library",
  119. "@com_google_cloud_go//longrunning:go_default_library",
  120. "@io_bazel_rules_go//proto/wkt:duration_go_proto",
  121. ],
  122. )
  123. go_test(
  124. name = "lifesciences_go_gapic_test",
  125. srcs = [":lifesciences_go_gapic_srcjar_test"],
  126. embed = [":lifesciences_go_gapic"],
  127. importpath = "cloud.google.com/go/lifesciences/apiv2beta",
  128. )
  129. # Open Source Packages
  130. go_gapic_assembly_pkg(
  131. name = "gapi-cloud-lifesciences-v2beta-go",
  132. deps = [
  133. ":lifesciences_go_gapic",
  134. ":lifesciences_go_gapic_srcjar-test.srcjar",
  135. ":lifesciences_go_gapic_srcjar-metadata.srcjar",
  136. ":lifesciences_go_proto",
  137. ],
  138. )
  139. ##############################################################################
  140. # Python
  141. ##############################################################################
  142. load(
  143. "@com_google_googleapis_imports//:imports.bzl",
  144. "py_gapic_assembly_pkg",
  145. "py_gapic_library",
  146. )
  147. py_gapic_library(
  148. name = "lifesciences_py_gapic",
  149. srcs = [":lifesciences_proto"],
  150. grpc_service_config = "lifesciences_grpc_service_config.json",
  151. opt_args = ["warehouse-package-name=google-cloud-life-sciences"]
  152. )
  153. # Open Source Packages
  154. py_gapic_assembly_pkg(
  155. name = "lifesciences-v2beta-py",
  156. deps = [
  157. ":lifesciences_py_gapic",
  158. ],
  159. )
  160. ##############################################################################
  161. # PHP
  162. ##############################################################################
  163. load(
  164. "@com_google_googleapis_imports//:imports.bzl",
  165. "php_gapic_assembly_pkg",
  166. "php_gapic_library",
  167. "php_grpc_library",
  168. "php_proto_library",
  169. )
  170. php_proto_library(
  171. name = "lifesciences_php_proto",
  172. deps = [":lifesciences_proto"],
  173. )
  174. php_grpc_library(
  175. name = "lifesciences_php_grpc",
  176. srcs = [":lifesciences_proto"],
  177. deps = [":lifesciences_php_proto"],
  178. )
  179. php_gapic_library(
  180. name = "lifesciences_php_gapic",
  181. srcs = [":lifesciences_proto_with_info"],
  182. grpc_service_config = "lifesciences_grpc_service_config.json",
  183. service_yaml = "lifesciences_v2beta.yaml",
  184. deps = [
  185. ":lifesciences_php_grpc",
  186. ":lifesciences_php_proto",
  187. ],
  188. )
  189. # Open Source Packages
  190. php_gapic_assembly_pkg(
  191. name = "google-cloud-lifesciences-v2beta-php",
  192. deps = [
  193. ":lifesciences_php_gapic",
  194. ":lifesciences_php_grpc",
  195. ":lifesciences_php_proto",
  196. ],
  197. )
  198. ##############################################################################
  199. # Node.js
  200. ##############################################################################
  201. load(
  202. "@com_google_googleapis_imports//:imports.bzl",
  203. "nodejs_gapic_assembly_pkg",
  204. "nodejs_gapic_library",
  205. )
  206. nodejs_gapic_library(
  207. name = "lifesciences_nodejs_gapic",
  208. package_name = "@google-cloud/life-sciences",
  209. src = ":lifesciences_proto_with_info",
  210. extra_protoc_parameters = ["metadata"],
  211. grpc_service_config = "lifesciences_grpc_service_config.json",
  212. package = "google.cloud.lifesciences.v2beta",
  213. service_yaml = "lifesciences_v2beta.yaml",
  214. deps = [],
  215. )
  216. nodejs_gapic_assembly_pkg(
  217. name = "lifesciences-v2beta-nodejs",
  218. deps = [
  219. ":lifesciences_nodejs_gapic",
  220. ":lifesciences_proto",
  221. ],
  222. )
  223. ##############################################################################
  224. # Ruby
  225. ##############################################################################
  226. load(
  227. "@com_google_googleapis_imports//:imports.bzl",
  228. "ruby_gapic_assembly_pkg",
  229. "ruby_cloud_gapic_library",
  230. "ruby_grpc_library",
  231. "ruby_proto_library",
  232. )
  233. ruby_proto_library(
  234. name = "lifesciences_ruby_proto",
  235. deps = [":lifesciences_proto"],
  236. )
  237. ruby_grpc_library(
  238. name = "lifesciences_ruby_grpc",
  239. srcs = [":lifesciences_proto"],
  240. deps = [":lifesciences_ruby_proto"],
  241. )
  242. ruby_cloud_gapic_library(
  243. name = "lifesciences_ruby_gapic",
  244. srcs = [":lifesciences_proto_with_info"],
  245. extra_protoc_parameters = [
  246. "ruby-cloud-gem-name=google-cloud-life_sciences-v2beta",
  247. "ruby-cloud-env-prefix=LIFE_SCIENCES",
  248. "ruby-cloud-product-url=https://cloud.google.com/life-sciences/",
  249. "ruby-cloud-api-id=lifesciences.googleapis.com",
  250. "ruby-cloud-api-shortname=lifesciences",
  251. "ruby-cloud-service-override=WorkflowsServiceV2Beta=WorkflowsService",
  252. ],
  253. grpc_service_config = "lifesciences_grpc_service_config.json",
  254. ruby_cloud_description = "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. It also enables advanced insights and operational workflows using highly scalable and compliant infrastructure.",
  255. ruby_cloud_title = "Cloud Life Sciences V2beta",
  256. deps = [
  257. ":lifesciences_ruby_grpc",
  258. ":lifesciences_ruby_proto",
  259. ],
  260. )
  261. # Open Source Packages
  262. ruby_gapic_assembly_pkg(
  263. name = "google-cloud-lifesciences-v2beta-ruby",
  264. deps = [
  265. ":lifesciences_ruby_gapic",
  266. ":lifesciences_ruby_grpc",
  267. ":lifesciences_ruby_proto",
  268. ],
  269. )
  270. ##############################################################################
  271. # C#
  272. ##############################################################################
  273. load(
  274. "@com_google_googleapis_imports//:imports.bzl",
  275. "csharp_gapic_assembly_pkg",
  276. "csharp_gapic_library",
  277. "csharp_grpc_library",
  278. "csharp_proto_library",
  279. )
  280. csharp_proto_library(
  281. name = "lifesciences_csharp_proto",
  282. deps = [":lifesciences_proto"],
  283. )
  284. csharp_grpc_library(
  285. name = "lifesciences_csharp_grpc",
  286. srcs = [":lifesciences_proto"],
  287. deps = [":lifesciences_csharp_proto"],
  288. )
  289. csharp_gapic_library(
  290. name = "lifesciences_csharp_gapic",
  291. srcs = [":lifesciences_proto_with_info"],
  292. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  293. grpc_service_config = "lifesciences_grpc_service_config.json",
  294. deps = [
  295. ":lifesciences_csharp_grpc",
  296. ":lifesciences_csharp_proto",
  297. ],
  298. )
  299. # Open Source Packages
  300. csharp_gapic_assembly_pkg(
  301. name = "google-cloud-lifesciences-v2beta-csharp",
  302. deps = [
  303. ":lifesciences_csharp_gapic",
  304. ":lifesciences_csharp_grpc",
  305. ":lifesciences_csharp_proto",
  306. ],
  307. )
  308. ##############################################################################
  309. # C++
  310. ##############################################################################
  311. # Put your C++ rules here