Bazel builds for additional drivers
Change-Id: I8c3f36bd7c56127480ab9419ad52dac626b9f3cb
diff --git a/apps/odtn/api/BUILD b/apps/odtn/api/BUILD
new file mode 100644
index 0000000..4df56b5
--- /dev/null
+++ b/apps/odtn/api/BUILD
@@ -0,0 +1,28 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + ONOS_YANG + [
+ "@onos_yang_runtime//jar",
+ "//models/tapi:onos-models-tapi",
+ "//models/openconfig:onos-models-openconfig",
+ "//apps/yang:onos-apps-yang",
+ "//apps/config:onos-apps-config",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_ADAPTERS,
+ deps = COMPILE_DEPS,
+)
+
+APPS = [
+ "org.onosproject.yang",
+ "org.onosproject.models.tapi",
+ "org.onosproject.models.openconfig",
+]
+
+# TODO probably bucklet, etc. should escape title & description
+onos_app(
+ app_name = "org.onosproject.odtn-api",
+ category = "Traffic Engineering",
+ description = "ODTN API & Utilities Application",
+ required_apps = APPS,
+ title = "ODTN API & Utilities Application",
+ url = "http://onosproject.org",
+)