Build drivers with bazel

Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
diff --git a/drivers/ciena/c5162/BUILD b/drivers/ciena/c5162/BUILD
new file mode 100644
index 0000000..e949093
--- /dev/null
+++ b/drivers/ciena/c5162/BUILD
@@ -0,0 +1,42 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+    "@javax_ws_rs_api//jar",
+    "//incubator/api:onos-incubator-api",
+    "//utils/rest:onlab-rest",
+    "//drivers/utilities:onos-drivers-utilities",
+    "//drivers/netconf:onos-drivers-netconf",
+    "//protocols/netconf/api:onos-protocols-netconf-api",
+]
+
+TEST_DEPS = TEST_ADAPTERS + [
+    "//drivers/netconf:onos-drivers-netconf-tests",
+]
+
+BUNDLES = [
+    ":onos-drivers-ciena-c5162",
+    "//drivers/utilities:onos-drivers-utilities",
+    "//drivers/netconf:onos-drivers-netconf",
+]
+
+REQUIRED_APPS = [
+    "org.onosproject.linkdiscovery",
+    "org.onosproject.netconf",
+    "org.onosproject.netconfsb",
+    "org.onosproject.drivers.netconf",
+]
+
+osgi_jar_with_tests(
+    resources = glob(["src/*/resources/**"]),
+    resources_root = "src/main/resources",
+    test_deps = TEST_DEPS,
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    app_name = "org.onosproject.drivers.ciena.c5162",
+    category = "Drivers",
+    description = "Adds support for Ciena 5162 devices.",
+    included_bundles = BUNDLES,
+    required_apps = REQUIRED_APPS,
+    title = "Ciena 5162 Drivers",
+    url = "http://onosproject.org",
+)