blob: 8c533af60d12da8bb3548722a8bcf251bb255821 [file] [log] [blame]
Ray Milkeya8cf59e2018-06-06 16:39:45 -07001load("//tools/build/bazel:osgi_java_library.bzl", "wrapped_osgi_jar")
2
Ray Milkey472d8392018-05-23 17:06:51 -07003java_proto_library(
Ray Milkey30773582018-07-26 15:52:23 -07004 name = "p4_runtime_java_proto_proto",
Ray Milkey472d8392018-05-23 17:06:51 -07005 visibility = ["//visibility:public"],
Ray Milkey816db102018-05-30 14:16:37 -07006 deps = ["@p4lang_pi//:p4_runtime_proto"],
Ray Milkey472d8392018-05-23 17:06:51 -07007)
Ray Milkey3275ae82018-05-29 15:35:36 -07008
Ray Milkey32ea35c2018-06-06 15:28:07 -07009wrapped_osgi_jar(
Ray Milkey3275ae82018-05-29 15:35:36 -070010 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 Milkey32ea35c2018-06-06 15:28:07 -070016wrapped_osgi_jar(
Ray Milkey30773582018-07-26 15:52:23 -070017 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
23wrapped_osgi_jar(
24 name = "p4_runtime_java_proto",
25 jar = ":p4_runtime_java_proto_proto",
Ray Milkey3275ae82018-05-29 15:35:36 -070026 visibility = ["//visibility:public"],
27 deps = CORE_DEPS + [
28 "@protobuf_java_3_2_0//jar",
29 "@google_rpc//:rpc_java_proto",
Ray Milkey30773582018-07-26 15:52:23 -070030 ":grpc-core-repkg-1.3.1",
Ray Milkey3275ae82018-05-29 15:35:36 -070031 ],
32)