Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/pi-demo/common/BUILD b/apps/pi-demo/common/BUILD
new file mode 100644
index 0000000..01d59ae
--- /dev/null
+++ b/apps/pi-demo/common/BUILD
@@ -0,0 +1,3 @@
+osgi_jar(
+    deps = CORE_DEPS,
+)
diff --git a/apps/pi-demo/ecmp/BUILD b/apps/pi-demo/ecmp/BUILD
new file mode 100644
index 0000000..2d2be99
--- /dev/null
+++ b/apps/pi-demo/ecmp/BUILD
@@ -0,0 +1,26 @@
+COMPILE_DEPS = CORE_DEPS + [
+    "@minimal_json//jar",
+    "//apps/pi-demo/common:onos-apps-pi-demo-common",
+    "//pipelines/basic:onos-pipelines-basic",
+]
+
+osgi_jar(
+    deps = COMPILE_DEPS,
+)
+
+BUNDLES = [
+    "//apps/pi-demo/common:onos-apps-pi-demo-common",
+    "//apps/pi-demo/ecmp:onos-apps-pi-demo-ecmp",
+]
+
+onos_app(
+    app_name = "org.onosproject.pi-ecmp",
+    category = "Traffic Engineering",
+    description = "Provides ECMP support for a 2-stage clos fabric topology of PI-enabled devices",
+    included_bundles = BUNDLES,
+    required_apps = [
+        "org.onosproject.pipelines.basic",
+    ],
+    title = "PI Demo ECMP Fabric",
+    url = "http://onosproject.org",
+)