Build providers using bazel
Change-Id: I7d4ebcfb1d593e10aa93f0a4f7111680ed66a7e7
diff --git a/providers/isis/BUILD b/providers/isis/BUILD
new file mode 100644
index 0000000..e91c3bf
--- /dev/null
+++ b/providers/isis/BUILD
@@ -0,0 +1,15 @@
+BUNDLES = [
+ "//protocols/isis/api:onos-protocols-isis-api",
+ "//protocols/isis/ctl:onos-protocols-isis-ctl",
+ "//protocols/isis/isisio:onos-protocols-isis-isisio",
+ "//providers/isis/cfg:onos-providers-isis-cfg",
+ "//providers/isis/topology:onos-providers-isis-topology",
+]
+
+onos_app(
+ category = "Provider",
+ description = "ONOS ISIS protocol adapters.",
+ included_bundles = BUNDLES,
+ title = "ISIS Provider",
+ url = "http://onosproject.org",
+)
diff --git a/providers/isis/cfg/BUILD b/providers/isis/cfg/BUILD
new file mode 100644
index 0000000..82b592b
--- /dev/null
+++ b/providers/isis/cfg/BUILD
@@ -0,0 +1,7 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+ "//protocols/isis/api:onos-protocols-isis-api",
+]
+
+osgi_jar_with_tests(
+ deps = COMPILE_DEPS,
+)
diff --git a/providers/isis/topology/BUILD b/providers/isis/topology/BUILD
new file mode 100644
index 0000000..1e3324d
--- /dev/null
+++ b/providers/isis/topology/BUILD
@@ -0,0 +1,9 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+ "//protocols/isis/api:onos-protocols-isis-api",
+ "//protocols/isis/ctl:onos-protocols-isis-ctl",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_ADAPTERS,
+ deps = COMPILE_DEPS,
+)