Build drivers with bazel

Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
diff --git a/drivers/cisco/netconf/BUILD b/drivers/cisco/netconf/BUILD
new file mode 100644
index 0000000..181f625
--- /dev/null
+++ b/drivers/cisco/netconf/BUILD
@@ -0,0 +1,29 @@
+COMPILE_DEPS = CORE_DEPS + [
+    "//drivers/utilities:onos-drivers-utilities",
+    "//protocols/netconf/api:onos-protocols-netconf-api",
+]
+
+BUNDLES = [
+    ":onos-drivers-cisco-netconf",
+    "//drivers/utilities:onos-drivers-utilities",
+]
+
+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.cisco.netconf",
+    category = "Drivers",
+    description = "Adds support for Cisco devices using NETCONF protocol.",
+    included_bundles = BUNDLES,
+    required_apps = [
+        "org.onosproject.netconf",
+        "org.onosproject.drivers.netconf",
+    ],
+    title = "Cisco NETCONF Drivers",
+    url = "http://onosproject.org",
+)
diff --git a/drivers/cisco/rest/BUILD b/drivers/cisco/rest/BUILD
new file mode 100644
index 0000000..d5b7ac7
--- /dev/null
+++ b/drivers/cisco/rest/BUILD
@@ -0,0 +1,29 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+    "@javax_ws_rs_api//jar",
+    "//incubator/api:onos-incubator-api",
+    "//utils/rest:onlab-rest",
+    "//drivers/utilities:onos-drivers-utilities",
+    "//protocols/rest/api:onos-protocols-rest-api",
+]
+
+BUNDLES = [
+    ":onos-drivers-cisco-rest",
+    "//drivers/utilities:onos-drivers-utilities",
+]
+
+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.cisco.rest",
+    category = "Drivers",
+    description = "Adds support for Cisco devices using REST.",
+    included_bundles = BUNDLES,
+    required_apps = ["org.onosproject.restsb"],
+    title = "Cisco REST Drivers",
+    url = "http://onosproject.org",
+)