blob: 3a9435cf98e561680f54e26c799b96aa7e8381f2 [file] [log] [blame]
Carmelo Cascone6a1ae712018-08-10 12:19:47 -07001load("//tools/build/bazel:osgi_java_library.bzl", "osgi_proto_jar")
Ray Milkey3275ae82018-05-29 15:35:36 -07002
Carmelo Cascone6a1ae712018-08-10 12:19:47 -07003PROTOS = [
4 "@com_github_p4lang_p4runtime//:" + p for p in [
5 "p4info_proto",
6 "p4types_proto",
7 "p4data_proto",
8 "p4runtime_proto",
9]] + [
10 "@com_github_p4lang_pi//:p4config_proto"
Carmelo Cascone41644362018-08-09 16:56:43 -070011]
12
Carmelo Cascone6a1ae712018-08-10 12:19:47 -070013osgi_proto_jar(
14 proto_libs = PROTOS,
15 grpc_proto_lib = "@com_github_p4lang_p4runtime//:p4runtime_proto",
16 deps = [
17 "@com_google_api_grpc_proto_google_common_protos//jar",
18 ]
Ray Milkey3275ae82018-05-29 15:35:36 -070019)