Additional bazel build files for apps
Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/tetunnel/BUILD b/apps/tetunnel/BUILD
new file mode 100644
index 0000000..bac5864
--- /dev/null
+++ b/apps/tetunnel/BUILD
@@ -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",
+ category = "Traffic Engineering",
+ description = "Application to create and manage TE tunnels.",
+ included_bundles = BUNDLES,
+ required_apps = ["org.onosproject.tetopology"],
+ title = "TE Tunnel Core",
+ url = "http://onosproject.org",
+)
diff --git a/apps/tetunnel/api/BUILD b/apps/tetunnel/api/BUILD
new file mode 100644
index 0000000..1fb7f05
--- /dev/null
+++ b/apps/tetunnel/api/BUILD
@@ -0,0 +1,8 @@
+COMPILE_DEPS = 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/BUILD b/apps/tetunnel/app/BUILD
new file mode 100644
index 0000000..17f4c6b
--- /dev/null
+++ b/apps/tetunnel/app/BUILD
@@ -0,0 +1,16 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + [
+ "//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 = TEST_ADAPTERS + [
+ "//utils/osgi:onlab-osgi-tests",
+ "//incubator/api:onos-incubator-api-tests",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_DEPS,
+ deps = COMPILE_DEPS,
+)