Ray Milkey | a8cf59e | 2018-06-06 16:39:45 -0700 | [diff] [blame] | 1 | load("//tools/build/bazel:osgi_java_library.bzl", "wrapped_osgi_jar") |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 2 | load("@io_grpc_grpc_java//:java_grpc_library.bzl", "java_grpc_library") |
Ray Milkey | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 3 | |
Ray Milkey | 32ea35c | 2018-06-06 15:28:07 -0700 | [diff] [blame] | 4 | wrapped_osgi_jar( |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 5 | name = "p4config_java_proto", |
| 6 | jar = "@com_github_p4lang_pi//:p4config_java_proto_native", |
| 7 | deps = [ |
| 8 | "@com_google_protobuf//:protobuf_java", |
Ray Milkey | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 9 | ], |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 10 | visibility = ["//visibility:public"], |
| 11 | ) |
| 12 | |
| 13 | wrapped_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 | |
| 22 | wrapped_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 | |
| 31 | wrapped_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 | |
| 40 | wrapped_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 | |
| 51 | wrapped_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 Milkey | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 58 | ) |