Move inputservice over to frameworks/native

Add all of the underlying input system pieces, minux PointerController and
SpriteController, to inputflinger. This is in preparation for moving input to
its own process and the addition of the input HAL.

Try 2.

Change-Id: I5f571fe86eb570885ae994e1f0552fb558930346
diff --git a/services/inputflinger/Android.mk b/services/inputflinger/Android.mk
index e32d38a..574c14e 100644
--- a/services/inputflinger/Android.mk
+++ b/services/inputflinger/Android.mk
@@ -16,6 +16,13 @@
 include $(CLEAR_VARS)
 
 LOCAL_SRC_FILES:= \
+    EventHub.cpp \
+    InputApplication.cpp \
+    InputDispatcher.cpp \
+    InputListener.cpp \
+    InputManager.cpp \
+    InputReader.cpp \
+    InputWindow.cpp \
     InputFlinger.cpp
 
 LOCAL_SHARED_LIBRARIES := \
@@ -23,9 +30,15 @@
     libcutils \
     libinput \
     liblog \
-    libutils
+    libutils \
+	libui \
+	libhardware_legacy
 
-LOCAL_CFLAGS += -fvisibility=hidden
+
+# TODO: Move inputflinger to its own process and mark it hidden
+#LOCAL_CFLAGS += -fvisibility=hidden
+
+LOCAL_CFLAGS += -Wno-unused-parameter
 
 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)