Bazel build files for protocols
Change-Id: I12a9cfe2d135d10c640a51d9b3438bcd92f8e37f
diff --git a/protocols/bgp/ctl/BUILD b/protocols/bgp/ctl/BUILD
new file mode 100644
index 0000000..41ab47e
--- /dev/null
+++ b/protocols/bgp/ctl/BUILD
@@ -0,0 +1,18 @@
+COMPILE_DEPS = CORE_DEPS + [
+ "@jersey_client//jar",
+ "@httpclient_osgi//jar",
+ "@httpcore_osgi//jar",
+ "@javax_ws_rs_api//jar",
+ "@netty_common//jar",
+ "@netty//jar",
+ "//protocols/bgp/api:onos-protocols-bgp-api",
+ "//protocols/bgp/bgpio:onos-protocols-bgp-bgpio",
+]
+
+osgi_jar_with_tests(
+ exclude_tests = [
+ "org.onosproject.bgp.BgpPeerChannelHandlerTest",
+ "org.onosproject.bgp.BgpPeerFrameDecoderTest",
+ ],
+ deps = COMPILE_DEPS,
+)