blob: 2da5615e99bb7e5dd7a25587323f1c268df27c5b [file] [log] [blame]
Ray Milkeya8cf59e2018-06-06 16:39:45 -07001load("//tools/build/bazel:osgi_java_library.bzl", "wrapped_osgi_jar")
Carmelo Cascone72893b72018-08-09 00:59:06 -07002load("@io_grpc_grpc_java//:java_grpc_library.bzl", "java_grpc_library")
Ray Milkey3275ae82018-05-29 15:35:36 -07003
Ray Milkey32ea35c2018-06-06 15:28:07 -07004wrapped_osgi_jar(
Carmelo Cascone72893b72018-08-09 00:59:06 -07005 name = "p4config_java_proto",
6 jar = "@com_github_p4lang_pi//:p4config_java_proto_native",
7 deps = [
8 "@com_google_protobuf//:protobuf_java",
Ray Milkey3275ae82018-05-29 15:35:36 -07009 ],
Carmelo Cascone72893b72018-08-09 00:59:06 -070010 visibility = ["//visibility:public"],
11)
12
13wrapped_osgi_jar(
14 name = "p4data_java_proto",
15 jar = "@com_github_p4lang_p4runtime//:p4data_java_proto_native",
16 deps = [
17 "@com_google_protobuf//:protobuf_java",
18 ],
19 visibility = ["//visibility:public"],
20)
21
22wrapped_osgi_jar(
23 name = "p4info_java_proto",
24 jar = "@com_github_p4lang_p4runtime//:p4info_java_proto_native",
25 deps = [
26 "@com_google_protobuf//:protobuf_java",
27 ],
28 visibility = ["//visibility:public"],
29)
30
31wrapped_osgi_jar(
32 name = "p4runtime_java_proto",
33 jar = "@com_github_p4lang_p4runtime//:p4runtime_java_proto_native",
34 deps = [
35 "@com_google_protobuf//:protobuf_java",
36 ],
37 visibility = ["//visibility:public"],
38)
39
40wrapped_osgi_jar(
41 name = "p4runtime_java_grpc",
42 jar = "@com_github_p4lang_p4runtime//:p4runtime_java_grpc_native",
43 deps = [
44 "@io_grpc_grpc_java//stub",
45 "@io_grpc_grpc_java//core",
46 "@io_grpc_grpc_java//protobuf",
47 ],
48 visibility = ["//visibility:public"],
49)
50
51wrapped_osgi_jar(
52 name = "status_java_proto",
53 jar = "@com_github_googleapis//:status_java_proto_native",
54 deps = [
55 "@com_google_protobuf//:protobuf_java",
56 ],
57 visibility = ["//visibility:public"],
Ray Milkey3275ae82018-05-29 15:35:36 -070058)