blob: fe82bb35f0daff5d42f6a973c03eca5fb447537b [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 Milkey472d8392018-05-23 17:06:51 -07004 name = "p4_runtime_java_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 Milkey3275ae82018-05-29 15:35:36 -070017 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)