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-11-30 07:26:29 +00:00
|
|
|
BufferItemConsumer.cpp \
|
2012-01-22 23:26:27 +00:00
|
|
|
BufferQueue.cpp \
|
2012-08-03 03:11:05 +00:00
|
|
|
ConsumerBase.cpp \
|
2012-11-30 07:26:29 +00:00
|
|
|
CpuConsumer.cpp \
|
2011-11-18 01:49:17 +00:00
|
|
|
DisplayEventReceiver.cpp \
|
2012-11-30 07:26:29 +00:00
|
|
|
DummyConsumer.cpp \
|
2012-12-18 17:49:45 +00:00
|
|
|
GLConsumer.cpp \
|
2012-11-30 07:26:29 +00:00
|
|
|
GraphicBufferAlloc.cpp \
|
|
|
|
GuiConfig.cpp \
|
2011-11-18 01:49:17 +00:00
|
|
|
IDisplayEventConnection.cpp \
|
2012-11-30 07:26:29 +00:00
|
|
|
IGraphicBufferAlloc.cpp \
|
2012-12-18 17:49:45 +00:00
|
|
|
IGraphicBufferProducer.cpp \
|
2010-07-14 05:21:56 +00:00
|
|
|
ISensorEventConnection.cpp \
|
|
|
|
ISensorServer.cpp \
|
2012-11-30 07:26:29 +00:00
|
|
|
ISurfaceComposer.cpp \
|
|
|
|
ISurfaceComposerClient.cpp \
|
|
|
|
LayerState.cpp \
|
2010-07-14 05:21:56 +00:00
|
|
|
Sensor.cpp \
|
|
|
|
SensorEventQueue.cpp \
|
2010-12-20 19:27:26 +00:00
|
|
|
SensorManager.cpp \
|
2011-03-26 01:42:40 +00:00
|
|
|
Surface.cpp \
|
2013-02-15 01:11:02 +00:00
|
|
|
SurfaceControl.cpp \
|
2011-03-26 01:42:40 +00:00
|
|
|
SurfaceComposerClient.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)
|
2012-09-28 00:58:24 +00:00
|
|
|
LOCAL_CFLAGS += -DUSE_NATIVE_FENCE_SYNC
|
|
|
|
LOCAL_CFLAGS += -DUSE_WAIT_SYNC
|
2012-07-31 21:01:57 +00:00
|
|
|
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
|
|
|
|
|
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
|