BUILD.bazel 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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 = "texttospeech_proto",
  11. srcs = [
  12. "cloud_tts.proto",
  13. ],
  14. deps = [
  15. "//google/api:annotations_proto",
  16. "//google/api:client_proto",
  17. "//google/api:field_behavior_proto",
  18. ],
  19. )
  20. proto_library_with_info(
  21. name = "texttospeech_proto_with_info",
  22. deps = [
  23. ":texttospeech_proto",
  24. "//google/cloud:common_resources_proto",
  25. ],
  26. )
  27. ##############################################################################
  28. # Java
  29. ##############################################################################
  30. load(
  31. "@com_google_googleapis_imports//:imports.bzl",
  32. "java_gapic_assembly_gradle_pkg",
  33. "java_gapic_library",
  34. "java_gapic_test",
  35. "java_grpc_library",
  36. "java_proto_library",
  37. )
  38. java_proto_library(
  39. name = "texttospeech_java_proto",
  40. deps = [":texttospeech_proto"],
  41. )
  42. java_grpc_library(
  43. name = "texttospeech_java_grpc",
  44. srcs = [":texttospeech_proto"],
  45. deps = [":texttospeech_java_proto"],
  46. )
  47. java_gapic_library(
  48. name = "texttospeech_java_gapic",
  49. srcs = [":texttospeech_proto_with_info"],
  50. grpc_service_config = "texttospeech_grpc_service_config.json",
  51. test_deps = [
  52. ":texttospeech_java_grpc",
  53. ],
  54. deps = [
  55. ":texttospeech_java_proto",
  56. ],
  57. )
  58. java_gapic_test(
  59. name = "texttospeech_java_gapic_test_suite",
  60. test_classes = [
  61. "com.google.cloud.texttospeech.v1beta1.TextToSpeechClientTest",
  62. ],
  63. runtime_deps = [":texttospeech_java_gapic_test"],
  64. )
  65. # Open Source Packages
  66. java_gapic_assembly_gradle_pkg(
  67. name = "google-cloud-texttospeech-v1beta1-java",
  68. deps = [
  69. ":texttospeech_java_gapic",
  70. ":texttospeech_java_grpc",
  71. ":texttospeech_java_proto",
  72. ":texttospeech_proto",
  73. ],
  74. )
  75. ##############################################################################
  76. # Go
  77. ##############################################################################
  78. load(
  79. "@com_google_googleapis_imports//:imports.bzl",
  80. "go_gapic_assembly_pkg",
  81. "go_gapic_library",
  82. "go_proto_library",
  83. "go_test",
  84. )
  85. go_proto_library(
  86. name = "texttospeech_go_proto",
  87. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  88. importpath = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1",
  89. protos = [":texttospeech_proto"],
  90. deps = [
  91. "//google/api:annotations_go_proto",
  92. ],
  93. )
  94. go_gapic_library(
  95. name = "texttospeech_go_gapic",
  96. srcs = [":texttospeech_proto_with_info"],
  97. grpc_service_config = "texttospeech_grpc_service_config.json",
  98. importpath = "cloud.google.com/go/texttospeech/apiv1beta1;texttospeech",
  99. service_yaml = "texttospeech_v1beta1.yaml",
  100. deps = [
  101. ":texttospeech_go_proto",
  102. ],
  103. )
  104. go_test(
  105. name = "texttospeech_go_gapic_test",
  106. srcs = [":texttospeech_go_gapic_srcjar_test"],
  107. embed = [":texttospeech_go_gapic"],
  108. importpath = "cloud.google.com/go/texttospeech/apiv1beta1",
  109. )
  110. # Open Source Packages
  111. go_gapic_assembly_pkg(
  112. name = "gapi-cloud-texttospeech-v1beta1-go",
  113. deps = [
  114. ":texttospeech_go_gapic",
  115. ":texttospeech_go_gapic_srcjar-test.srcjar",
  116. ":texttospeech_go_proto",
  117. ],
  118. )
  119. ##############################################################################
  120. # Python
  121. ##############################################################################
  122. load(
  123. "@com_google_googleapis_imports//:imports.bzl",
  124. "py_gapic_assembly_pkg",
  125. "py_gapic_library",
  126. )
  127. py_gapic_library(
  128. name = "texttospeech_py_gapic",
  129. srcs = [":texttospeech_proto"],
  130. grpc_service_config = "texttospeech_grpc_service_config.json",
  131. )
  132. # Open Source Packages
  133. py_gapic_assembly_pkg(
  134. name = "texttospeech-v1beta1-py",
  135. deps = [
  136. ":texttospeech_py_gapic",
  137. ],
  138. )
  139. ##############################################################################
  140. # PHP
  141. ##############################################################################
  142. load(
  143. "@com_google_googleapis_imports//:imports.bzl",
  144. "php_gapic_assembly_pkg",
  145. "php_gapic_library",
  146. "php_grpc_library",
  147. "php_proto_library",
  148. )
  149. php_proto_library(
  150. name = "texttospeech_php_proto",
  151. deps = [":texttospeech_proto"],
  152. )
  153. php_grpc_library(
  154. name = "texttospeech_php_grpc",
  155. srcs = [":texttospeech_proto"],
  156. deps = [":texttospeech_php_proto"],
  157. )
  158. php_gapic_library(
  159. name = "texttospeech_php_gapic",
  160. srcs = [":texttospeech_proto_with_info"],
  161. grpc_service_config = "texttospeech_grpc_service_config.json",
  162. deps = [
  163. ":texttospeech_php_grpc",
  164. ":texttospeech_php_proto",
  165. ],
  166. )
  167. # Open Source Packages
  168. php_gapic_assembly_pkg(
  169. name = "google-cloud-texttospeech-v1beta1-php",
  170. deps = [
  171. ":texttospeech_php_gapic",
  172. ":texttospeech_php_grpc",
  173. ":texttospeech_php_proto",
  174. ],
  175. )
  176. ##############################################################################
  177. # Node.js
  178. ##############################################################################
  179. load(
  180. "@com_google_googleapis_imports//:imports.bzl",
  181. "nodejs_gapic_assembly_pkg",
  182. "nodejs_gapic_library",
  183. )
  184. nodejs_gapic_library(
  185. name = "texttospeech_nodejs_gapic",
  186. package_name = "@google-cloud/text-to-speech",
  187. src = ":texttospeech_proto_with_info",
  188. extra_protoc_parameters = ["metadata"],
  189. grpc_service_config = "texttospeech_grpc_service_config.json",
  190. package = "google.cloud.texttospeech.v1beta1",
  191. service_yaml = "texttospeech_v1beta1.yaml",
  192. deps = [],
  193. )
  194. nodejs_gapic_assembly_pkg(
  195. name = "texttospeech-v1beta1-nodejs",
  196. deps = [
  197. ":texttospeech_nodejs_gapic",
  198. ":texttospeech_proto",
  199. ],
  200. )
  201. ##############################################################################
  202. # Ruby
  203. ##############################################################################
  204. load(
  205. "@com_google_googleapis_imports//:imports.bzl",
  206. "ruby_cloud_gapic_library",
  207. "ruby_gapic_assembly_pkg",
  208. "ruby_grpc_library",
  209. "ruby_proto_library",
  210. )
  211. ruby_proto_library(
  212. name = "texttospeech_ruby_proto",
  213. deps = [":texttospeech_proto"],
  214. )
  215. ruby_grpc_library(
  216. name = "texttospeech_ruby_grpc",
  217. srcs = [":texttospeech_proto"],
  218. deps = [":texttospeech_ruby_proto"],
  219. )
  220. ruby_cloud_gapic_library(
  221. name = "texttospeech_ruby_gapic",
  222. srcs = [":texttospeech_proto_with_info"],
  223. extra_protoc_parameters = [
  224. "ruby-cloud-gem-name=google-cloud-text_to_speech-v1beta1",
  225. "ruby-cloud-env-prefix=TEXTTOSPEECH",
  226. "ruby-cloud-product-url=https://cloud.google.com/text-to-speech",
  227. "ruby-cloud-api-id=texttospeech.googleapis.com",
  228. "ruby-cloud-api-shortname=texttospeech",
  229. ],
  230. grpc_service_config = "texttospeech_grpc_service_config.json",
  231. ruby_cloud_description = "Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.",
  232. ruby_cloud_title = "Cloud Text-to-Speech V1beta1",
  233. deps = [
  234. ":texttospeech_ruby_grpc",
  235. ":texttospeech_ruby_proto",
  236. ],
  237. )
  238. # Open Source Packages
  239. ruby_gapic_assembly_pkg(
  240. name = "google-cloud-texttospeech-v1beta1-ruby",
  241. deps = [
  242. ":texttospeech_ruby_gapic",
  243. ":texttospeech_ruby_grpc",
  244. ":texttospeech_ruby_proto",
  245. ],
  246. )
  247. ##############################################################################
  248. # C#
  249. ##############################################################################
  250. load(
  251. "@com_google_googleapis_imports//:imports.bzl",
  252. "csharp_gapic_assembly_pkg",
  253. "csharp_gapic_library",
  254. "csharp_grpc_library",
  255. "csharp_proto_library",
  256. )
  257. csharp_proto_library(
  258. name = "texttospeech_csharp_proto",
  259. deps = [":texttospeech_proto"],
  260. )
  261. csharp_grpc_library(
  262. name = "texttospeech_csharp_grpc",
  263. srcs = [":texttospeech_proto"],
  264. deps = [":texttospeech_csharp_proto"],
  265. )
  266. csharp_gapic_library(
  267. name = "texttospeech_csharp_gapic",
  268. srcs = [":texttospeech_proto_with_info"],
  269. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  270. grpc_service_config = "texttospeech_grpc_service_config.json",
  271. deps = [
  272. ":texttospeech_csharp_grpc",
  273. ":texttospeech_csharp_proto",
  274. ],
  275. )
  276. # Open Source Packages
  277. csharp_gapic_assembly_pkg(
  278. name = "google-cloud-texttospeech-v1beta1-csharp",
  279. deps = [
  280. ":texttospeech_csharp_gapic",
  281. ":texttospeech_csharp_grpc",
  282. ":texttospeech_csharp_proto",
  283. ],
  284. )
  285. ##############################################################################
  286. # C++
  287. ##############################################################################
  288. # Put your C++ rules here