Build drivers with bazel
Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
diff --git a/drivers/juniper/BUILD b/drivers/juniper/BUILD
new file mode 100644
index 0000000..9bc897d
--- /dev/null
+++ b/drivers/juniper/BUILD
@@ -0,0 +1,25 @@
+COMPILE_DEPS = CORE_DEPS + [
+ "//drivers/utilities:onos-drivers-utilities",
+ "//protocols/netconf/api:onos-protocols-netconf-api",
+]
+
+BUNDLES = [
+ ":onos-drivers-juniper",
+ "//drivers/utilities:onos-drivers-utilities",
+]
+
+osgi_jar_with_tests(
+ resources = glob(["src/main/resources/**"]),
+ resources_root = "src/main/resources",
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ app_name = "org.onosproject.drivers.juniper",
+ category = "Drivers",
+ description = "Adds support for Juniper devices.",
+ included_bundles = BUNDLES,
+ required_apps = ["org.onosproject.netconf"],
+ title = "Juniper Drivers",
+ url = "http://onosproject.org",
+)