BUILD 921 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. filegroup(
  5. name = "datasets",
  6. srcs = [
  7. "dataset.google_message2.pb",
  8. ],
  9. visibility = [
  10. "//benchmarks/datasets:__pkg__",
  11. ],
  12. )
  13. proto_library(
  14. name = "benchmark_message2_proto",
  15. srcs = [
  16. "benchmark_message2.proto",
  17. ],
  18. strip_import_prefix = "/benchmarks",
  19. visibility = [
  20. "//benchmarks/datasets:__pkg__",
  21. ],
  22. )
  23. cc_proto_library(
  24. name = "benchmark_message2_cc_proto",
  25. visibility = [
  26. "//benchmarks/datasets:__pkg__",
  27. ],
  28. deps = [
  29. "benchmark_message2_proto",
  30. ],
  31. )
  32. java_proto_library(
  33. name = "benchmark_message2_java_proto",
  34. visibility = [
  35. "//benchmarks/datasets:__pkg__",
  36. ],
  37. deps = [
  38. "benchmark_message2_proto",
  39. ],
  40. )