BUILD 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. load("@rules_cc//cc:defs.bzl", "cc_proto_library")
  2. load("@rules_java//java:defs.bzl", "java_proto_library")
  3. load("@rules_proto//proto:defs.bzl", "proto_library")
  4. proto_library(
  5. name = "benchmarks_proto",
  6. srcs = [
  7. "benchmarks.proto",
  8. ],
  9. strip_import_prefix = "/benchmarks",
  10. visibility = [
  11. "//benchmarks:__subpackages__",
  12. ],
  13. )
  14. cc_proto_library(
  15. name = "benchmarks_cc_proto",
  16. visibility = [
  17. "//benchmarks:__subpackages__",
  18. ],
  19. deps = [
  20. "benchmarks_proto",
  21. ],
  22. )
  23. java_proto_library(
  24. name = "benchmarks_java_proto",
  25. visibility = [
  26. "//benchmarks:__subpackages__",
  27. ],
  28. deps = [
  29. "benchmarks_proto",
  30. ],
  31. )
  32. proto_library(
  33. name = "google_size_proto",
  34. srcs = [
  35. "google_size.proto",
  36. ],
  37. strip_import_prefix = "/benchmarks",
  38. visibility = [
  39. "//benchmarks:__subpackages__",
  40. ],
  41. )
  42. cc_proto_library(
  43. name = "google_size_cc_proto",
  44. visibility = [
  45. "//benchmarks:__subpackages__",
  46. ],
  47. deps = [
  48. "google_size_proto",
  49. ],
  50. )
  51. java_proto_library(
  52. name = "google_size_java_proto",
  53. visibility = [
  54. "//benchmarks:__subpackages__",
  55. ],
  56. deps = [
  57. "google_size_proto",
  58. ],
  59. )