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 | 472d839 | 2018-05-23 17:06:51 -0700 | [diff] [blame] | 4 | name = "p4_runtime_java_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 | 3275ae8 | 2018-05-29 15:35:36 -0700 | [diff] [blame] | 17 | name = "p4_runtime_java_proto-osgi", |
| 18 | jar = ":p4_runtime_java_proto", |
| 19 | visibility = ["//visibility:public"], |
| 20 | deps = CORE_DEPS + [ |
| 21 | "@protobuf_java_3_2_0//jar", |
| 22 | "@google_rpc//:rpc_java_proto", |
| 23 | ], |
| 24 | ) |