BUILD.bazel 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. # This file was automatically generated by BuildFileGenerator
  2. # https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/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 = "executions_proto",
  19. srcs = [
  20. "executions.proto",
  21. ],
  22. deps = [
  23. "//google/api:annotations_proto",
  24. "//google/api:client_proto",
  25. "//google/api:field_behavior_proto",
  26. "//google/api:resource_proto",
  27. "@com_google_protobuf//:timestamp_proto",
  28. ],
  29. )
  30. proto_library_with_info(
  31. name = "executions_proto_with_info",
  32. deps = [
  33. ":executions_proto",
  34. "//google/cloud:common_resources_proto",
  35. ],
  36. )
  37. ##############################################################################
  38. # Java
  39. ##############################################################################
  40. load(
  41. "@com_google_googleapis_imports//:imports.bzl",
  42. "java_gapic_assembly_gradle_pkg",
  43. "java_gapic_library",
  44. "java_gapic_test",
  45. "java_grpc_library",
  46. "java_proto_library",
  47. )
  48. java_proto_library(
  49. name = "executions_java_proto",
  50. deps = [":executions_proto"],
  51. )
  52. java_grpc_library(
  53. name = "executions_java_grpc",
  54. srcs = [":executions_proto"],
  55. deps = [":executions_java_proto"],
  56. )
  57. java_gapic_library(
  58. name = "executions_java_gapic",
  59. srcs = [":executions_proto_with_info"],
  60. grpc_service_config = "executions_grpc_service_config.json",
  61. test_deps = [
  62. ":executions_java_grpc",
  63. ],
  64. deps = [
  65. ":executions_java_proto",
  66. ],
  67. )
  68. java_gapic_test(
  69. name = "executions_java_gapic_test_suite",
  70. test_classes = [
  71. "com.google.cloud.workflows.executions.v1.ExecutionsClientTest",
  72. ],
  73. runtime_deps = [":executions_java_gapic_test"],
  74. )
  75. # Open Source Packages
  76. java_gapic_assembly_gradle_pkg(
  77. name = "google-cloud-workflows-executions-v1-java",
  78. deps = [
  79. ":executions_java_gapic",
  80. ":executions_java_grpc",
  81. ":executions_java_proto",
  82. ":executions_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 = "executions_go_proto",
  97. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  98. importpath = "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1",
  99. protos = [":executions_proto"],
  100. deps = [
  101. "//google/api:annotations_go_proto",
  102. ],
  103. )
  104. go_gapic_library(
  105. name = "executions_go_gapic",
  106. srcs = [":executions_proto_with_info"],
  107. grpc_service_config = "executions_grpc_service_config.json",
  108. importpath = "cloud.google.com/go/workflows/executions/apiv1;executions",
  109. service_yaml = "workflowexecutions_v1.yaml",
  110. deps = [
  111. ":executions_go_proto",
  112. ],
  113. )
  114. go_test(
  115. name = "executions_go_gapic_test",
  116. srcs = [":executions_go_gapic_srcjar_test"],
  117. embed = [":executions_go_gapic"],
  118. importpath = "cloud.google.com/go/workflows/executions/apiv1",
  119. )
  120. # Open Source Packages
  121. go_gapic_assembly_pkg(
  122. name = "gapi-cloud-workflows-executions-v1-go",
  123. deps = [
  124. ":executions_go_gapic",
  125. ":executions_go_gapic_srcjar-test.srcjar",
  126. ":executions_go_proto",
  127. ],
  128. )
  129. ##############################################################################
  130. # Python
  131. ##############################################################################
  132. load(
  133. "@com_google_googleapis_imports//:imports.bzl",
  134. "py_gapic_assembly_pkg",
  135. "py_gapic_library",
  136. )
  137. py_gapic_library(
  138. name = "executions_py_gapic",
  139. srcs = [":executions_proto"],
  140. grpc_service_config = "executions_grpc_service_config.json",
  141. )
  142. # Open Source Packages
  143. py_gapic_assembly_pkg(
  144. name = "workflows-executions-v1-py",
  145. deps = [
  146. ":executions_py_gapic",
  147. ],
  148. )
  149. ##############################################################################
  150. # PHP
  151. ##############################################################################
  152. load(
  153. "@com_google_googleapis_imports//:imports.bzl",
  154. "php_gapic_assembly_pkg",
  155. "php_gapic_library",
  156. "php_grpc_library",
  157. "php_proto_library",
  158. )
  159. php_proto_library(
  160. name = "executions_php_proto",
  161. deps = [":executions_proto"],
  162. )
  163. php_grpc_library(
  164. name = "executions_php_grpc",
  165. srcs = [":executions_proto"],
  166. deps = [":executions_php_proto"],
  167. )
  168. php_gapic_library(
  169. name = "executions_php_gapic",
  170. srcs = [":executions_proto_with_info"],
  171. grpc_service_config = "executions_grpc_service_config.json",
  172. deps = [
  173. ":executions_php_grpc",
  174. ":executions_php_proto",
  175. ],
  176. )
  177. # Open Source Packages
  178. php_gapic_assembly_pkg(
  179. name = "google-cloud-workflows-executions-v1-php",
  180. deps = [
  181. ":executions_php_gapic",
  182. ":executions_php_grpc",
  183. ":executions_php_proto",
  184. ],
  185. )
  186. ##############################################################################
  187. # Node.js
  188. ##############################################################################
  189. load(
  190. "@com_google_googleapis_imports//:imports.bzl",
  191. "nodejs_gapic_assembly_pkg",
  192. "nodejs_gapic_library",
  193. )
  194. nodejs_gapic_library(
  195. name = "executions_nodejs_gapic",
  196. package_name = "@google-cloud/workflow-executions",
  197. src = ":executions_proto_with_info",
  198. extra_protoc_parameters = ["metadata"],
  199. grpc_service_config = "executions_grpc_service_config.json",
  200. package = "google.cloud.workflows.executions.v1",
  201. service_yaml = "workflowexecutions_v1.yaml",
  202. deps = [],
  203. )
  204. nodejs_gapic_assembly_pkg(
  205. name = "workflows-executions-v1-nodejs",
  206. deps = [
  207. ":executions_nodejs_gapic",
  208. ":executions_proto",
  209. ],
  210. )
  211. ##############################################################################
  212. # Ruby
  213. ##############################################################################
  214. load(
  215. "@com_google_googleapis_imports//:imports.bzl",
  216. "ruby_gapic_assembly_pkg",
  217. "ruby_cloud_gapic_library",
  218. "ruby_grpc_library",
  219. "ruby_proto_library",
  220. )
  221. ruby_proto_library(
  222. name = "executions_ruby_proto",
  223. deps = [":executions_proto"],
  224. )
  225. ruby_grpc_library(
  226. name = "executions_ruby_grpc",
  227. srcs = [":executions_proto"],
  228. deps = [":executions_ruby_proto"],
  229. )
  230. ruby_cloud_gapic_library(
  231. name = "executions_ruby_gapic",
  232. srcs = [":executions_proto_with_info",],
  233. extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-executions-v1"],
  234. grpc_service_config = "executions_grpc_service_config.json",
  235. deps = [
  236. ":executions_ruby_grpc",
  237. ":executions_ruby_proto",
  238. ],
  239. )
  240. # Open Source Packages
  241. ruby_gapic_assembly_pkg(
  242. name = "google-cloud-workflows-executions-v1-ruby",
  243. deps = [
  244. ":executions_ruby_gapic",
  245. ":executions_ruby_grpc",
  246. ":executions_ruby_proto",
  247. ],
  248. )
  249. ##############################################################################
  250. # C#
  251. ##############################################################################
  252. load(
  253. "@com_google_googleapis_imports//:imports.bzl",
  254. "csharp_gapic_assembly_pkg",
  255. "csharp_gapic_library",
  256. "csharp_grpc_library",
  257. "csharp_proto_library",
  258. )
  259. csharp_proto_library(
  260. name = "executions_csharp_proto",
  261. deps = [":executions_proto"],
  262. )
  263. csharp_grpc_library(
  264. name = "executions_csharp_grpc",
  265. srcs = [":executions_proto"],
  266. deps = [":executions_csharp_proto"],
  267. )
  268. csharp_gapic_library(
  269. name = "executions_csharp_gapic",
  270. srcs = [":executions_proto_with_info"],
  271. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  272. grpc_service_config = "executions_grpc_service_config.json",
  273. deps = [
  274. ":executions_csharp_grpc",
  275. ":executions_csharp_proto",
  276. ],
  277. )
  278. # Open Source Packages
  279. csharp_gapic_assembly_pkg(
  280. name = "google-cloud-workflows-executions-v1-csharp",
  281. deps = [
  282. ":executions_csharp_gapic",
  283. ":executions_csharp_grpc",
  284. ":executions_csharp_proto",
  285. ],
  286. )
  287. ##############################################################################
  288. # C++
  289. ##############################################################################
  290. # Put your C++ rules here