Allow building third-party apps based on gRPC
By publishing the repackaged grpc and protobuf artifacts
Change-Id: Ib3af7dba4f64948132aa70be31922de61d6f6ab2
diff --git a/protocols/p4runtime/ctl/BUILD b/protocols/p4runtime/ctl/BUILD
index 31cd184..628d162 100644
--- a/protocols/p4runtime/ctl/BUILD
+++ b/protocols/p4runtime/ctl/BUILD
@@ -4,18 +4,18 @@
"//protocols/grpc/ctl:onos-protocols-grpc-ctl",
"//protocols/p4runtime/api:onos-protocols-p4runtime-api",
"//protocols/p4runtime/proto:onos-protocols-p4runtime-proto",
- "@com_google_protobuf//:protobuf_java",
- "//protocols/grpc:grpc-core",
- "@io_grpc_grpc_java//netty",
- "@io_grpc_grpc_java//protobuf-lite",
- "@io_grpc_grpc_java//stub",
+ "//lib:com_google_protobuf_protobuf_java",
+ "//lib:io_grpc_grpc_core_context",
+ "//lib:io_grpc_grpc_netty",
+ "//lib:io_grpc_grpc_protobuf_lite",
+ "//lib:io_grpc_grpc_stub",
"@com_google_api_grpc_proto_google_common_protos//jar",
]
TEST_DEPS = TEST + [
"@minimal_json//jar",
- "@io_grpc_grpc_java//core:inprocess",
- "@io_grpc_grpc_java//protobuf-lite",
+ "//lib:io_grpc_grpc_core_context",
+ "//lib:io_grpc_grpc_protobuf_lite",
]
osgi_jar_with_tests(