Build drivers with bazel
Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
diff --git a/drivers/hp/BUILD b/drivers/hp/BUILD
new file mode 100644
index 0000000..bba0b3f
--- /dev/null
+++ b/drivers/hp/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.hp",
+ category = "Drivers",
+ description = "Adds support for HP devices.",
+ required_apps = ["org.onosproject.openflow"],
+ title = "HP Drivers",
+ url = "http://onosproject.org",
+)