• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@rules_cc//cc:defs.bzl", "cc_library")
2load("@rules_java//java:defs.bzl", "java_library")
3load("@rules_proto//proto:defs.bzl", "proto_library")
4
5filegroup(
6    name = "datasets",
7    srcs = [
8        "//benchmarks/datasets/google_message1/proto2:datasets",
9        "//benchmarks/datasets/google_message1/proto3:datasets",
10        "//benchmarks/datasets/google_message2:datasets",
11        "//benchmarks/datasets/google_message3:datasets",
12        "//benchmarks/datasets/google_message4:datasets",
13    ],
14    visibility = [
15        "//benchmarks:__subpackages__",
16    ],
17)
18
19proto_library(
20    name = "protos",
21    visibility = [
22        "//benchmarks:__subpackages__",
23    ],
24    deps = [
25        "//benchmarks/datasets/google_message1/proto2:benchmark_message1_proto2_proto",
26        "//benchmarks/datasets/google_message1/proto3:benchmark_message1_proto3_proto",
27        "//benchmarks/datasets/google_message2:benchmark_message2_proto",
28        "//benchmarks/datasets/google_message3:benchmark_message3_proto",
29        "//benchmarks/datasets/google_message4:benchmark_message4_proto",
30    ],
31)
32
33cc_library(
34    name = "cc_protos",
35    visibility = [
36        "//benchmarks:__subpackages__",
37    ],
38    deps = [
39        "//benchmarks/datasets/google_message1/proto2:benchmark_message1_proto2_cc_proto",
40        "//benchmarks/datasets/google_message1/proto3:benchmark_message1_proto3_cc_proto",
41        "//benchmarks/datasets/google_message2:benchmark_message2_cc_proto",
42        "//benchmarks/datasets/google_message3:benchmark_message3_cc_proto",
43        "//benchmarks/datasets/google_message4:benchmark_message4_cc_proto",
44    ],
45)
46
47java_library(
48    name = "java_protos",
49    visibility = [
50        "//benchmarks:__subpackages__",
51    ],
52    exports = [
53        "//benchmarks/datasets/google_message1/proto2:benchmark_message1_proto2_java_proto",
54        "//benchmarks/datasets/google_message1/proto3:benchmark_message1_proto3_java_proto",
55        "//benchmarks/datasets/google_message2:benchmark_message2_java_proto",
56        "//benchmarks/datasets/google_message3:benchmark_message3_java_proto",
57        "//benchmarks/datasets/google_message4:benchmark_message4_java_proto",
58    ],
59)
60