Add servicedispatcher

servicedispatcher is a binary on the device that opens up TCP
connection for a certain binder service. On success, it writes
the port number to stdout.

Test: manual
Bug: 182914638

Change-Id: I2d914f13896cbe48afdaf22e43ad742262b23ae5
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 6e7f74f..9be05d3 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -307,3 +307,17 @@
         export_aidl_headers: true,
     },
 }
+
+cc_binary {
+    name: "servicedispatcher",
+    host_supported: false,
+    srcs: [
+        "servicedispatcher.cpp",
+    ],
+    shared_libs: [
+        "libbase",
+        "libbinder",
+        "liblog",
+        "libutils",
+    ],
+}