e57e895080
Refactored the input reader so that each raw input protocol is handled by a separate subclass of the new InputMapper type. This way, behaviors pertaining to keyboard, trackballs, touchscreens, switches and other devices are clearly distinguished for improved maintainability. Added partial support for describing capabilities of input devices (incomplete and untested for now, will be fleshed out in later commits). Simplified EventHub interface somewhat since InputReader is taking over more of the work. Cleaned up some of the interactions between InputManager and WindowManagerService related to reading input state. Fixed swiping finger from screen edge into display area. Added logging of device information to 'dumpsys window'. Change-Id: I17faffc33e3aec3a0f33f0b37e81a70609378612
51 lines
1.0 KiB
Makefile
51 lines
1.0 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
EGLUtils.cpp \
|
|
EventHub.cpp \
|
|
EventRecurrence.cpp \
|
|
FramebufferNativeWindow.cpp \
|
|
GraphicBuffer.cpp \
|
|
GraphicBufferAllocator.cpp \
|
|
GraphicBufferMapper.cpp \
|
|
KeyLayoutMap.cpp \
|
|
KeyCharacterMap.cpp \
|
|
Input.cpp \
|
|
InputDispatcher.cpp \
|
|
InputManager.cpp \
|
|
InputReader.cpp \
|
|
InputTransport.cpp \
|
|
IOverlay.cpp \
|
|
Overlay.cpp \
|
|
PixelFormat.cpp \
|
|
Rect.cpp \
|
|
Region.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libutils \
|
|
libEGL \
|
|
libbinder \
|
|
libpixelflinger \
|
|
libhardware \
|
|
libhardware_legacy
|
|
|
|
LOCAL_MODULE:= libui
|
|
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
LOCAL_LDLIBS += -lpthread
|
|
endif
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
# Include subdirectory makefiles
|
|
# ============================================================
|
|
|
|
# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
|
|
# team really wants is to build the stuff defined by this makefile.
|
|
ifeq (,$(ONE_SHOT_MAKEFILE))
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|
|
endif
|