BUILD.bazel 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. proto_library(
  9. name = "logging_proto",
  10. srcs = [
  11. "annotation.proto",
  12. "consent.proto",
  13. "deid.proto",
  14. "dicom.proto",
  15. "fhir.proto",
  16. "hl7v2.proto",
  17. ],
  18. deps = [
  19. "//google/rpc:status_proto",
  20. ],
  21. )
  22. ##############################################################################
  23. # Java
  24. ##############################################################################
  25. load(
  26. "@com_google_googleapis_imports//:imports.bzl",
  27. "java_grpc_library",
  28. "java_proto_library",
  29. )
  30. java_proto_library(
  31. name = "logging_java_proto",
  32. deps = [":logging_proto"],
  33. )
  34. java_grpc_library(
  35. name = "logging_java_grpc",
  36. srcs = [":logging_proto"],
  37. deps = [":logging_java_proto"],
  38. )
  39. ##############################################################################
  40. # Go
  41. ##############################################################################
  42. load(
  43. "@com_google_googleapis_imports//:imports.bzl",
  44. "go_proto_library",
  45. )
  46. go_proto_library(
  47. name = "logging_go_proto",
  48. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  49. importpath = "google.golang.org/genproto/googleapis/cloud/healthcare/logging",
  50. protos = [":logging_proto"],
  51. deps = [
  52. "//google/rpc:status_go_proto",
  53. ],
  54. )
  55. ##############################################################################
  56. # Python
  57. ##############################################################################
  58. load(
  59. "@com_google_googleapis_imports//:imports.bzl",
  60. "moved_proto_library",
  61. "py_grpc_library",
  62. "py_proto_library",
  63. )
  64. moved_proto_library(
  65. name = "logging_moved_proto",
  66. srcs = [":logging_proto"],
  67. deps = [
  68. "//google/rpc:status_proto",
  69. ],
  70. )
  71. py_proto_library(
  72. name = "logging_py_proto",
  73. deps = [":logging_moved_proto"],
  74. )
  75. py_grpc_library(
  76. name = "logging_py_grpc",
  77. srcs = [":logging_moved_proto"],
  78. deps = [":logging_py_proto"],
  79. )
  80. ##############################################################################
  81. # PHP
  82. ##############################################################################
  83. load(
  84. "@com_google_googleapis_imports//:imports.bzl",
  85. "php_grpc_library",
  86. "php_proto_library",
  87. )
  88. php_proto_library(
  89. name = "logging_php_proto",
  90. deps = [":logging_proto"],
  91. )
  92. php_grpc_library(
  93. name = "logging_php_grpc",
  94. srcs = [":logging_proto"],
  95. deps = [":logging_php_proto"],
  96. )
  97. ##############################################################################
  98. # Node.js
  99. ##############################################################################
  100. load(
  101. "@com_google_googleapis_imports//:imports.bzl",
  102. "nodejs_gapic_assembly_pkg",
  103. "nodejs_gapic_library",
  104. )
  105. ##############################################################################
  106. # Ruby
  107. ##############################################################################
  108. load(
  109. "@com_google_googleapis_imports//:imports.bzl",
  110. "ruby_grpc_library",
  111. "ruby_proto_library",
  112. )
  113. ruby_proto_library(
  114. name = "logging_ruby_proto",
  115. deps = [":logging_proto"],
  116. )
  117. ruby_grpc_library(
  118. name = "logging_ruby_grpc",
  119. srcs = [":logging_proto"],
  120. deps = [":logging_ruby_proto"],
  121. )
  122. ##############################################################################
  123. # C#
  124. ##############################################################################
  125. load(
  126. "@com_google_googleapis_imports//:imports.bzl",
  127. "csharp_grpc_library",
  128. "csharp_proto_library",
  129. )
  130. csharp_proto_library(
  131. name = "logging_csharp_proto",
  132. deps = [":logging_proto"],
  133. )
  134. csharp_grpc_library(
  135. name = "logging_csharp_grpc",
  136. srcs = [":logging_proto"],
  137. deps = [":logging_csharp_proto"],
  138. )
  139. ##############################################################################
  140. # C++
  141. ##############################################################################
  142. load(
  143. "@com_google_googleapis_imports//:imports.bzl",
  144. "cc_grpc_library",
  145. "cc_proto_library",
  146. )
  147. cc_proto_library(
  148. name = "logging_cc_proto",
  149. deps = [":logging_proto"],
  150. )
  151. cc_grpc_library(
  152. name = "logging_cc_grpc",
  153. srcs = [":logging_proto"],
  154. grpc_only = True,
  155. deps = [":logging_cc_proto"],
  156. )