Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/pim/BUILD b/apps/pim/BUILD
new file mode 100644
index 0000000..ccde728
--- /dev/null
+++ b/apps/pim/BUILD
@@ -0,0 +1,25 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + [
+    "//incubator/api:onos-incubator-api",
+    "//apps/routing-api:onos-apps-routing-api",
+    "//apps/route-service/api:onos-apps-route-service-api",
+]
+
+BUNDLES = [
+    "//apps/routing-api:onos-apps-routing-api",
+    ":onos-apps-pim",
+]
+
+osgi_jar_with_tests(
+    resources = glob(["src/main/resources/**"]),
+    resources_root = "src/main/resources",
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    category = "Traffic Engineering",
+    description = "Protocol independent multicast emulation.",
+    included_bundles = BUNDLES,
+    required_apps = ["org.onosproject.route-service"],
+    title = "Protocol Independent Multicast Emulation",
+    url = "http://onosproject.org",
+)