Add BUCK for tenbi and tetunnel

1. Add BUCK for tenbi and tetunnel
2. Fix check style errors in tenbi
3. Fix a BUCK error in tetopology

Change-Id: I618bdd2a119cc6be3250cb3c3e9002fa4f5e4750
diff --git a/apps/tetunnel/BUCK b/apps/tetunnel/BUCK
new file mode 100644
index 0000000..ae9ab9d
--- /dev/null
+++ b/apps/tetunnel/BUCK
@@ -0,0 +1,14 @@
+BUNDLES = [
+  '//apps/tetunnel/api:onos-apps-tetunnel-api',
+  '//apps/tetunnel/app:onos-apps-tetunnel-app',
+]
+
+onos_app (
+    app_name = 'org.onosproject.tetunnel',
+    title = 'TE Tunnel Core App',
+    category = 'ACTN',
+    url = 'http://onosproject.org',
+    description = 'Application to create and manage TE tunnels.',
+    included_bundles = BUNDLES,
+)
+
diff --git a/apps/tetunnel/api/BUCK b/apps/tetunnel/api/BUCK
new file mode 100644
index 0000000..eea4ec2
--- /dev/null
+++ b/apps/tetunnel/api/BUCK
@@ -0,0 +1,9 @@
+COMPILE_DEPS = [
+    '//lib:CORE_DEPS',
+    '//apps/tetopology/api:onos-apps-tetopology-api',
+    '//incubator/api:onos-incubator-api',
+]
+
+osgi_jar_with_tests (
+    deps = COMPILE_DEPS,
+)
diff --git a/apps/tetunnel/app/BUCK b/apps/tetunnel/app/BUCK
new file mode 100644
index 0000000..7b544a3
--- /dev/null
+++ b/apps/tetunnel/app/BUCK
@@ -0,0 +1,18 @@
+COMPILE_DEPS = [
+    '//lib:CORE_DEPS',
+    '//apps/tetopology/api:onos-apps-tetopology-api',
+    '//apps/tetunnel/api:onos-apps-tetunnel-api',
+    '//incubator/api:onos-incubator-api',
+    '//core/store/serializers:onos-core-serializers',
+]
+
+TEST_DEPS = [
+    '//lib:TEST_ADAPTERS',
+    '//utils/osgi:onlab-osgi-tests',
+    '//incubator/api:onos-incubator-api-tests',
+]
+
+osgi_jar_with_tests (
+    deps = COMPILE_DEPS,
+    test_deps = TEST_DEPS,
+)