2010-07-14 05:21:56 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
2011-10-21 01:42:02 +00:00
|
|
|
BitTube.cpp \
|
2012-01-22 23:26:27 +00:00
|
|
|
BufferQueue.cpp \
|
2012-08-03 03:11:05 +00:00
|
|
|
ConsumerBase.cpp \
|
2011-11-18 01:49:17 +00:00
|
|
|
DisplayEventReceiver.cpp \
|
|
|
|
IDisplayEventConnection.cpp \
|
2010-07-14 05:21:56 +00:00
|
|
|
ISensorEventConnection.cpp \
|
|
|
|
ISensorServer.cpp \
|
2010-12-20 19:27:26 +00:00
|
|
|
ISurfaceTexture.cpp \
|
2010-07-14 05:21:56 +00:00
|
|
|
Sensor.cpp \
|
|
|
|
SensorEventQueue.cpp \
|
2010-12-20 19:27:26 +00:00
|
|
|
SensorManager.cpp \
|
|
|
|
SurfaceTexture.cpp \
|
2011-03-26 01:42:40 +00:00
|
|
|
SurfaceTextureClient.cpp \
|
|
|
|
ISurfaceComposer.cpp \
|
|
|
|
ISurface.cpp \
|
|
|
|
ISurfaceComposerClient.cpp \
|
|
|
|
IGraphicBufferAlloc.cpp \
|
|
|
|
LayerState.cpp \
|
|
|
|
Surface.cpp \
|
|
|
|
SurfaceComposerClient.cpp \
|
2012-04-17 00:54:33 +00:00
|
|
|
DummyConsumer.cpp \
|
2012-08-21 20:37:35 +00:00
|
|
|
CpuConsumer.cpp \
|
|
|
|
BufferItemConsumer.cpp
|
2010-07-14 05:21:56 +00:00
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libbinder \
|
2012-06-14 21:45:17 +00:00
|
|
|
libcutils \
|
|
|
|
libEGL \
|
|
|
|
libGLESv2 \
|
|
|
|
libsync \
|
2010-12-20 19:27:26 +00:00
|
|
|
libui \
|
2012-06-14 21:45:17 +00:00
|
|
|
libutils \
|
2010-12-20 19:27:26 +00:00
|
|
|
|
2010-07-14 05:21:56 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE:= libgui
|
|
|
|
|
2012-01-22 23:40:56 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), omap4)
|
|
|
|
LOCAL_CFLAGS += -DUSE_FENCE_SYNC
|
|
|
|
endif
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
|
|
|
|
LOCAL_CFLAGS += -DUSE_FENCE_SYNC
|
|
|
|
endif
|
2012-07-31 21:01:57 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), exynos5)
|
|
|
|
LOCAL_CFLAGS += -DUSE_FENCE_SYNC
|
|
|
|
endif
|
2012-05-21 18:23:28 +00:00
|
|
|
ifneq ($(filter generic%,$(TARGET_DEVICE)),)
|
|
|
|
# Emulator build
|
|
|
|
LOCAL_CFLAGS += -DUSE_FENCE_SYNC
|
|
|
|
endif
|
2012-01-22 23:40:56 +00:00
|
|
|
|
2012-09-10 16:24:07 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), msm8960)
|
|
|
|
LOCAL_CFLAGS += -DUSE_NATIVE_FENCE_SYNC
|
|
|
|
endif
|
|
|
|
|
2011-11-15 03:17:37 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), tegra)
|
|
|
|
LOCAL_CFLAGS += -DALLOW_DEQUEUE_CURRENT_BUFFER
|
|
|
|
endif
|
|
|
|
|
2010-07-14 05:21:56 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2011-04-27 00:26:37 +00:00
|
|
|
|
|
|
|
ifeq (,$(ONE_SHOT_MAKEFILE))
|
|
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|
|
|
|
endif
|