Build drivers with bazel
Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
diff --git a/drivers/flowspec/BUILD b/drivers/flowspec/BUILD
new file mode 100644
index 0000000..fd1b1a7
--- /dev/null
+++ b/drivers/flowspec/BUILD
@@ -0,0 +1,20 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + [
+ "//drivers/default:onos-drivers-default",
+ "//apps/flowspec-api/flowapi:onos-apps-flowspec-api-flowapi",
+]
+
+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.flowspec",
+ category = "Drivers",
+ description = "Adds support for devices using flow specs.",
+ required_apps = ["org.onosproject.drivers"],
+ title = "Generic Flow Spec Drivers",
+ url = "http://onosproject.org",
+)