Build providers using bazel
Change-Id: I7d4ebcfb1d593e10aa93f0a4f7111680ed66a7e7
diff --git a/providers/pcep/tunnel/BUILD b/providers/pcep/tunnel/BUILD
new file mode 100644
index 0000000..b33bd8f
--- /dev/null
+++ b/providers/pcep/tunnel/BUILD
@@ -0,0 +1,19 @@
+COMPILE_DEPS = CORE_DEPS + NETTY + [
+ "//protocols/ovsdb/api:onos-protocols-ovsdb-api",
+ "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc",
+ "//apps/pcep-api:onos-apps-pcep-api",
+ "//incubator/api:onos-incubator-api",
+ "//protocols/pcep/pcepio:onos-protocols-pcep-pcepio",
+ "//protocols/pcep/server/api:onos-protocols-pcep-server-api",
+ "//protocols/pcep/server/ctl:onos-protocols-pcep-server-ctl",
+]
+
+TEST_DEPS = TEST_ADAPTERS + [
+ "@netty//jar",
+ "@netty_transport//jar",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_DEPS,
+ deps = COMPILE_DEPS,
+)