2009-03-04 03:31:44 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
2012-06-18 23:47:56 +00:00
|
|
|
Client.cpp \
|
2012-08-05 03:09:03 +00:00
|
|
|
DdmConnection.cpp \
|
2012-08-01 06:09:07 +00:00
|
|
|
DisplayDevice.cpp \
|
2011-11-18 01:49:17 +00:00
|
|
|
EventThread.cpp \
|
|
|
|
Layer.cpp \
|
|
|
|
LayerBase.cpp \
|
|
|
|
LayerDim.cpp \
|
|
|
|
LayerScreenshot.cpp \
|
2012-06-08 00:52:54 +00:00
|
|
|
DisplayHardware/FramebufferSurface.cpp \
|
2011-11-18 01:49:17 +00:00
|
|
|
DisplayHardware/HWComposer.cpp \
|
2012-04-26 23:11:59 +00:00
|
|
|
DisplayHardware/PowerHAL.cpp \
|
2011-11-18 01:49:17 +00:00
|
|
|
GLExtensions.cpp \
|
|
|
|
MessageQueue.cpp \
|
|
|
|
SurfaceFlinger.cpp \
|
|
|
|
SurfaceTextureLayer.cpp \
|
|
|
|
Transform.cpp \
|
2011-04-20 21:20:59 +00:00
|
|
|
|
2009-03-04 03:31:44 +00:00
|
|
|
|
2009-04-10 21:24:30 +00:00
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
|
|
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
2009-03-04 03:31:44 +00:00
|
|
|
|
2012-06-19 00:27:56 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM),omap3)
|
2010-12-08 03:38:17 +00:00
|
|
|
LOCAL_CFLAGS += -DNO_RGBX_8888
|
2010-06-30 22:43:47 +00:00
|
|
|
endif
|
2012-06-19 00:27:56 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM),omap4)
|
2011-10-07 22:42:53 +00:00
|
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
|
|
endif
|
2012-06-19 00:27:56 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
|
2012-04-24 03:00:16 +00:00
|
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
|
|
LOCAL_CFLAGS += -DNEVER_DEFAULT_TO_ASYNC_MODE
|
|
|
|
endif
|
|
|
|
|
2012-06-19 00:27:56 +00:00
|
|
|
ifeq ($(TARGET_DISABLE_TRIPLE_BUFFERING),true)
|
2012-04-24 03:00:16 +00:00
|
|
|
LOCAL_CFLAGS += -DTARGET_DISABLE_TRIPLE_BUFFERING
|
2010-10-12 00:54:43 +00:00
|
|
|
endif
|
|
|
|
|
2009-03-04 03:31:44 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
2009-07-03 02:04:39 +00:00
|
|
|
libcutils \
|
2012-08-05 03:09:03 +00:00
|
|
|
libdl \
|
2009-03-04 03:31:44 +00:00
|
|
|
libhardware \
|
|
|
|
libutils \
|
|
|
|
libEGL \
|
2009-07-03 02:04:39 +00:00
|
|
|
libGLESv1_CM \
|
|
|
|
libbinder \
|
2010-02-10 01:46:37 +00:00
|
|
|
libui \
|
2011-03-26 01:42:40 +00:00
|
|
|
libgui
|
2009-03-04 03:31:44 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|