blob: f29a27650bff8bf00d526350fb8d4ea32169593a [file] [log] [blame]
Yannic Bonenbergerc5abd972020-07-21 19:38:33 +02001load("@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 ],
Yannic Bonenbergeref70aba2021-03-14 10:58:03 +010014 visibility = [
15 "//benchmarks:__subpackages__",
16 ],
Yannic Bonenbergerc5abd972020-07-21 19:38:33 +020017)
18
19proto_library(
20 name = "protos",
Yannic Bonenbergeref70aba2021-03-14 10:58:03 +010021 visibility = [
22 "//benchmarks:__subpackages__",
23 ],
Yannic Bonenbergerc5abd972020-07-21 19:38:33 +020024 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",
Yannic Bonenbergeref70aba2021-03-14 10:58:03 +010035 visibility = [
36 "//benchmarks:__subpackages__",
37 ],
Yannic Bonenbergerc5abd972020-07-21 19:38:33 +020038 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",
Yannic Bonenbergeref70aba2021-03-14 10:58:03 +010049 visibility = [
50 "//benchmarks:__subpackages__",
51 ],
Yannic Bonenbergerc5abd972020-07-21 19:38:33 +020052 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)