BUILD.bazel 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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 = "logs_proto",
  10. srcs = [
  11. "notification_service_payload.proto",
  12. "saas_instance_payload.proto",
  13. ],
  14. deps = [
  15. "@com_google_protobuf//:timestamp_proto",
  16. ],
  17. )
  18. ##############################################################################
  19. # Java
  20. ##############################################################################
  21. load(
  22. "@com_google_googleapis_imports//:imports.bzl",
  23. "java_grpc_library",
  24. "java_proto_library",
  25. )
  26. java_proto_library(
  27. name = "logs_java_proto",
  28. deps = [":logs_proto"],
  29. )
  30. java_grpc_library(
  31. name = "logs_java_grpc",
  32. srcs = [":logs_proto"],
  33. deps = [":logs_java_proto"],
  34. )
  35. ##############################################################################
  36. # Go
  37. ##############################################################################
  38. load(
  39. "@com_google_googleapis_imports//:imports.bzl",
  40. "go_proto_library",
  41. )
  42. go_proto_library(
  43. name = "logs_go_proto",
  44. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  45. importpath = "google.golang.org/genproto/googleapis/cloud/saasaccelerator/management/logs/v1",
  46. protos = [":logs_proto"],
  47. deps = [],
  48. )
  49. ##############################################################################
  50. # Python
  51. ##############################################################################
  52. load(
  53. "@com_google_googleapis_imports//:imports.bzl",
  54. "moved_proto_library",
  55. "py_grpc_library",
  56. "py_proto_library",
  57. )
  58. moved_proto_library(
  59. name = "logs_moved_proto",
  60. srcs = [":logs_proto"],
  61. deps = [
  62. "@com_google_protobuf//:timestamp_proto",
  63. ],
  64. )
  65. py_proto_library(
  66. name = "logs_py_proto",
  67. deps = [":logs_moved_proto"],
  68. )
  69. py_grpc_library(
  70. name = "logs_py_grpc",
  71. srcs = [":logs_moved_proto"],
  72. deps = [":logs_py_proto"],
  73. )
  74. ##############################################################################
  75. # PHP
  76. ##############################################################################
  77. load(
  78. "@com_google_googleapis_imports//:imports.bzl",
  79. "php_grpc_library",
  80. "php_proto_library",
  81. )
  82. php_proto_library(
  83. name = "logs_php_proto",
  84. deps = [":logs_proto"],
  85. )
  86. php_grpc_library(
  87. name = "logs_php_grpc",
  88. srcs = [":logs_proto"],
  89. deps = [":logs_php_proto"],
  90. )
  91. ##############################################################################
  92. # Node.js
  93. ##############################################################################
  94. load(
  95. "@com_google_googleapis_imports//:imports.bzl",
  96. "nodejs_gapic_assembly_pkg",
  97. "nodejs_gapic_library",
  98. )
  99. ##############################################################################
  100. # Ruby
  101. ##############################################################################
  102. load(
  103. "@com_google_googleapis_imports//:imports.bzl",
  104. "ruby_grpc_library",
  105. "ruby_proto_library",
  106. )
  107. ruby_proto_library(
  108. name = "logs_ruby_proto",
  109. deps = [":logs_proto"],
  110. )
  111. ruby_grpc_library(
  112. name = "logs_ruby_grpc",
  113. srcs = [":logs_proto"],
  114. deps = [":logs_ruby_proto"],
  115. )
  116. ##############################################################################
  117. # C#
  118. ##############################################################################
  119. load(
  120. "@com_google_googleapis_imports//:imports.bzl",
  121. "csharp_grpc_library",
  122. "csharp_proto_library",
  123. )
  124. csharp_proto_library(
  125. name = "logs_csharp_proto",
  126. deps = [":logs_proto"],
  127. )
  128. csharp_grpc_library(
  129. name = "logs_csharp_grpc",
  130. srcs = [":logs_proto"],
  131. deps = [":logs_csharp_proto"],
  132. )
  133. ##############################################################################
  134. # C++
  135. ##############################################################################
  136. load(
  137. "@com_google_googleapis_imports//:imports.bzl",
  138. "cc_grpc_library",
  139. "cc_proto_library",
  140. )
  141. cc_proto_library(
  142. name = "logs_cc_proto",
  143. deps = [":logs_proto"],
  144. )
  145. cc_grpc_library(
  146. name = "logs_cc_grpc",
  147. srcs = [":logs_proto"],
  148. grpc_only = True,
  149. deps = [":logs_cc_proto"],
  150. )