Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/network-troubleshoot/BUILD b/apps/network-troubleshoot/BUILD
new file mode 100644
index 0000000..088b0e1
--- /dev/null
+++ b/apps/network-troubleshoot/BUILD
@@ -0,0 +1,13 @@
+BUNDLES = [
+    "//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api",
+    "//apps/network-troubleshoot/cli:onos-apps-network-troubleshoot-cli",
+    "//apps/network-troubleshoot/core:onos-apps-network-troubleshoot-core",
+]
+
+onos_app(
+    category = "Utility",
+    description = "Provides various network troubleshooting utilities.",
+    included_bundles = BUNDLES,
+    title = "Network Troubleshooter",
+    url = "https://wiki.onosproject.org/display/ONOS/Network+TroubleShooting+Module",
+)
diff --git a/apps/network-troubleshoot/api/BUILD b/apps/network-troubleshoot/api/BUILD
new file mode 100644
index 0000000..f72e3bc
--- /dev/null
+++ b/apps/network-troubleshoot/api/BUILD
@@ -0,0 +1,3 @@
+osgi_jar_with_tests(
+    deps = CORE_DEPS,
+)
diff --git a/apps/network-troubleshoot/cli/BUILD b/apps/network-troubleshoot/cli/BUILD
new file mode 100644
index 0000000..5f68c98
--- /dev/null
+++ b/apps/network-troubleshoot/cli/BUILD
@@ -0,0 +1,8 @@
+COMPILE_DEPS = CORE_DEPS + CLI + [
+    "//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api",
+]
+
+osgi_jar_with_tests(
+    import_packages = "*,org.onosproject.cli.net",
+    deps = COMPILE_DEPS,
+)
diff --git a/apps/network-troubleshoot/core/BUILD b/apps/network-troubleshoot/core/BUILD
new file mode 100644
index 0000000..3f4545b
--- /dev/null
+++ b/apps/network-troubleshoot/core/BUILD
@@ -0,0 +1,14 @@
+COMPILE_DEPS = CORE_DEPS + [
+    "//incubator/api:onos-incubator-api",
+    "//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api",
+]
+
+TEST_DEPS = TEST + [
+    "//utils/osgi:onlab-osgi-tests",
+    "//incubator/api:onos-incubator-api-tests",
+]
+
+osgi_jar_with_tests(
+    test_deps = TEST_DEPS,
+    deps = COMPILE_DEPS,
+)