d0566bc26f
use gui/DisplayEvent to receive the events. Events are dispatched through a unix pipe, so the API is compatible with utils/Looper. see gui/DisplayEvent.h for more info. Bug: 1475048 Change-Id: Ia720f64d1b950328b47b22c6a86042e481d35f09
46 lines
862 B
Makefile
46 lines
862 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
BitTube.cpp \
|
|
DisplayEventReceiver.cpp \
|
|
IDisplayEventConnection.cpp \
|
|
ISensorEventConnection.cpp \
|
|
ISensorServer.cpp \
|
|
ISurfaceTexture.cpp \
|
|
Sensor.cpp \
|
|
SensorEventQueue.cpp \
|
|
SensorManager.cpp \
|
|
SurfaceTexture.cpp \
|
|
SurfaceTextureClient.cpp \
|
|
ISurfaceComposer.cpp \
|
|
ISurface.cpp \
|
|
ISurfaceComposerClient.cpp \
|
|
IGraphicBufferAlloc.cpp \
|
|
LayerState.cpp \
|
|
Surface.cpp \
|
|
SurfaceComposerClient.cpp \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libutils \
|
|
libbinder \
|
|
libhardware \
|
|
libhardware_legacy \
|
|
libui \
|
|
libEGL \
|
|
libGLESv2 \
|
|
|
|
|
|
LOCAL_MODULE:= libgui
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), tegra)
|
|
LOCAL_CFLAGS += -DALLOW_DEQUEUE_CURRENT_BUFFER
|
|
endif
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
ifeq (,$(ONE_SHOT_MAKEFILE))
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|
|
endif
|