Link libinput as a shared library for host

Since the rust dependencies in libinput are included as a
whole_static_lib, if we add the same rust dependencies in another
library (e.g. in libinputflinger), they will be included more than
once in the binary, resulting in duplicate symbol errors from the
linker. We can add it as a shared lib dependency to get around
the duplicate symbols.

Bug: 278783893
Test: build
Change-Id: I92897f3465852d7be030dbce995435edff9b54fd
diff --git a/services/inputflinger/dispatcher/Android.bp b/services/inputflinger/dispatcher/Android.bp
index 492551e..8b57730 100644
--- a/services/inputflinger/dispatcher/Android.bp
+++ b/services/inputflinger/dispatcher/Android.bp
@@ -59,6 +59,7 @@
         "libbase",
         "libcrypto",
         "libcutils",
+        "libinput",
         "libkll",
         "liblog",
         "libprotobuf-cpp-lite",
@@ -74,14 +75,12 @@
         android: {
             shared_libs: [
                 "libgui",
-                "libinput",
                 "libstatspull",
                 "libstatssocket",
             ],
         },
         host: {
             static_libs: [
-                "libinput",
                 "libstatspull",
                 "libstatssocket",
             ],