Ray Milkey | a8cf59e | 2018-06-06 16:39:45 -0700 | [diff] [blame] | 1 | load("//tools/build/bazel:osgi_java_library.bzl", "wrapped_osgi_jar") |
| 2 | |
Ray Milkey | 472d839 | 2018-05-23 17:06:51 -0700 | [diff] [blame] | 3 | java_proto_library( |
Ray Milkey | 3077358 | 2018-07-26 15:52:23 -0700 | [diff] [blame] | 4 | name = "p4_runtime_java_proto_proto", |
Ray Milkey | 472d839 | 2018-05-23 17:06:51 -0700 | [diff] [blame] | 5 | visibility = ["//visibility:public"], |
Ray Milkey | 816db10 | 2018-05-30 14:16:37 -0700 | [diff] [blame] | 6 | deps = ["@p4lang_pi//:p4_runtime_proto"], |
Ray Milkey | 472d839 | 2018-05-23 17:06:51 -0700 | [diff] [blame] | 7 | ) |
Ray Milkey | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 8 | |
Ray Milkey | 32ea35c | 2018-06-06 15:28:07 -0700 | [diff] [blame] | 9 | wrapped_osgi_jar( |
Ray Milkey | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 10 | name = "rpc_java_proto-osgi", |
| 11 | jar = "@google_rpc//:rpc_java_proto", |
| 12 | visibility = ["//visibility:public"], |
| 13 | deps = CORE_DEPS + ["@protobuf_java_3_2_0//jar"], |
| 14 | ) |
| 15 | |
Ray Milkey | 32ea35c | 2018-06-06 15:28:07 -0700 | [diff] [blame] | 16 | wrapped_osgi_jar( |
Ray Milkey | 3077358 | 2018-07-26 15:52:23 -0700 | [diff] [blame] | 17 | name = "grpc-core-repkg-1.3.1", |
| 18 | jar = "@grpc_src_zip_131//:grpc-core-repkg-1.3.1-native", |
| 19 | visibility = ["//visibility:public"], |
| 20 | deps = COMPILE, |
| 21 | ) |
| 22 | |
| 23 | wrapped_osgi_jar( |
| 24 | name = "p4_runtime_java_proto", |
| 25 | jar = ":p4_runtime_java_proto_proto", |
Ray Milkey | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 26 | visibility = ["//visibility:public"], |
| 27 | deps = CORE_DEPS + [ |
| 28 | "@protobuf_java_3_2_0//jar", |
| 29 | "@google_rpc//:rpc_java_proto", |
Ray Milkey | 3077358 | 2018-07-26 15:52:23 -0700 | [diff] [blame] | 30 | ":grpc-core-repkg-1.3.1", |
Ray Milkey | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 31 | ], |
| 32 | ) |