BUILD 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. visibility = [
  8. "//benchmarks/datasets:__pkg__",
  9. ],
  10. )
  11. proto_library(
  12. name = "benchmark_message3_proto",
  13. srcs = [
  14. "benchmark_message3.proto",
  15. "benchmark_message3_1.proto",
  16. "benchmark_message3_2.proto",
  17. "benchmark_message3_3.proto",
  18. "benchmark_message3_4.proto",
  19. "benchmark_message3_5.proto",
  20. "benchmark_message3_6.proto",
  21. "benchmark_message3_7.proto",
  22. "benchmark_message3_8.proto",
  23. ],
  24. strip_import_prefix = "/benchmarks",
  25. visibility = [
  26. "//benchmarks/datasets:__pkg__",
  27. ],
  28. )
  29. cc_proto_library(
  30. name = "benchmark_message3_cc_proto",
  31. visibility = [
  32. "//benchmarks/datasets:__pkg__",
  33. ],
  34. deps = [
  35. "benchmark_message3_proto",
  36. ],
  37. )
  38. java_proto_library(
  39. name = "benchmark_message3_java_proto",
  40. visibility = [
  41. "//benchmarks/datasets:__pkg__",
  42. ],
  43. deps = [
  44. "benchmark_message3_proto",
  45. ],
  46. )