Additional bazel build files for apps
Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/routing/cpr/BUILD b/apps/routing/cpr/BUILD
new file mode 100644
index 0000000..8fcdaa5
--- /dev/null
+++ b/apps/routing/cpr/BUILD
@@ -0,0 +1,30 @@
+COMPILE_DEPS = CORE_DEPS + [
+ "//incubator/api:onos-incubator-api",
+ "//apps/routing-api:onos-apps-routing-api",
+]
+
+TEST_DEPS = TEST_ADAPTERS + [
+ "//incubator/api:onos-incubator-api-tests",
+ "//apps/routing-api:onos-apps-routing-api-tests",
+ "//utils/osgi:onlab-osgi-tests",
+]
+
+osgi_jar_with_tests(
+ test_deps = TEST_DEPS,
+ deps = COMPILE_DEPS,
+)
+
+BUNDLES = [
+ "//apps/routing/common:onos-apps-routing-common",
+ "//apps/routing/cpr:onos-apps-routing-cpr",
+ "//apps/routing-api:onos-apps-routing-api",
+]
+
+onos_app(
+ app_name = "org.onosproject.cpr",
+ category = "Traffic Engineering",
+ description = "Redirects routing control traffic to a control plane",
+ included_bundles = BUNDLES,
+ title = "Control Plane Redirect",
+ url = "http://onosproject.org",
+)