Build providers using bazel

Change-Id: I7d4ebcfb1d593e10aa93f0a4f7111680ed66a7e7
diff --git a/providers/tl1/BUILD b/providers/tl1/BUILD
new file mode 100644
index 0000000..a7d524e
--- /dev/null
+++ b/providers/tl1/BUILD
@@ -0,0 +1,15 @@
+BUNDLES = [
+    "//providers/tl1/device:onos-providers-tl1-device",
+    "//protocols/tl1/api:onos-protocols-tl1-api",
+    "//protocols/tl1/ctl:onos-protocols-tl1-ctl",
+]
+
+onos_app(
+    app_name = "org.onosproject.tl1",
+    category = "Provider",
+    description = "Provides means for ONOS to discover and trigger the initial handshake procedure " +
+                  "with TL1 enable devices from information given by network configuration.",
+    included_bundles = BUNDLES,
+    title = "TL1 Provider",
+    url = "https://wiki.onosproject.org/display/ONOS/TL1",
+)
diff --git a/providers/tl1/device/BUILD b/providers/tl1/device/BUILD
new file mode 100644
index 0000000..f04769b
--- /dev/null
+++ b/providers/tl1/device/BUILD
@@ -0,0 +1,9 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+    "//incubator/api:onos-incubator-api",
+    "//protocols/tl1/api:onos-protocols-tl1-api",
+]
+
+osgi_jar_with_tests(
+    test_deps = TEST_ADAPTERS,
+    deps = COMPILE_DEPS,
+)