summaryrefslogtreecommitdiffstats
path: root/services/inputflinger/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'services/inputflinger/Android.mk')
-rw-r--r--services/inputflinger/Android.mk19
1 files changed, 18 insertions, 1 deletions
diff --git a/services/inputflinger/Android.mk b/services/inputflinger/Android.mk
index 1af59a3..add5108 100644
--- a/services/inputflinger/Android.mk
+++ b/services/inputflinger/Android.mk
@@ -22,7 +22,8 @@ LOCAL_SRC_FILES:= \
InputListener.cpp \
InputManager.cpp \
InputReader.cpp \
- InputWindow.cpp
+ InputWindow.cpp \
+ InputFlinger.cpp
LOCAL_SHARED_LIBRARIES := \
libbinder \
@@ -45,3 +46,19 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_MODULE := libinputflinger
include $(BUILD_SHARED_LIBRARY)
+
+########################################################################
+# build input flinger executable
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ main.cpp
+
+LOCAL_SHARED_LIBRARIES := \
+ libbinder \
+ libinputflinger \
+ libutils
+
+LOCAL_MODULE := inputflinger
+
+include $(BUILD_EXECUTABLE)