Build drivers with bazel
Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
diff --git a/drivers/corsa/BUILD b/drivers/corsa/BUILD
new file mode 100644
index 0000000..a38d02e
--- /dev/null
+++ b/drivers/corsa/BUILD
@@ -0,0 +1,22 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + [
+ "@openflowj//jar",
+ "//drivers/default:onos-drivers-default",
+ "//drivers/utilities:onos-drivers-utilities",
+ "//protocols/openflow/api:onos-protocols-openflow-api",
+]
+
+osgi_jar_with_tests(
+ resources = glob(["src/main/resources/**"]),
+ resources_root = "src/main/resources",
+ test_deps = TEST_ADAPTERS,
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ app_name = "org.onosproject.drivers.corsa",
+ category = "Drivers",
+ description = "Adds support for Corsa devices.",
+ required_apps = ["org.onosproject.openflow"],
+ title = "Corsa Drivers",
+ url = "http://onosproject.org",
+)