Fix p4runtime runtime dependencies when building with Bazel
A convenient macro for packaging together all proto and gRPC libraries
in an OSGi jar is provided. Also re-packaging of gRPC core (to avoid OSGi
split problem) is simplified by depending on a patched fork of grpc-java.
Change-Id: Idb79a5bea8ae0bc57b146bda1fc47a4568d12c60
diff --git a/drivers/bmv2/BUILD b/drivers/bmv2/BUILD
index d17599f..07fef1a 100644
--- a/drivers/bmv2/BUILD
+++ b/drivers/bmv2/BUILD
@@ -21,7 +21,10 @@
deps = COMPILE_DEPS,
# FIXME: enable building other classes as soon as we implement BUILD for
# protocols/bmv2 (based on Thrift)
- srcs = ["src/main/java/org/onosproject/drivers/bmv2/Bmv2PipelineProgrammable.java"],
+ srcs = [
+ "src/main/java/org/onosproject/drivers/bmv2/Bmv2DriversLoader.java",
+ "src/main/java/org/onosproject/drivers/bmv2/Bmv2PipelineProgrammable.java",
+ ],
resources_root = "src/main/resources",
resources = glob(["src/main/resources/**"]),
)