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-06-21 00:51:20 +00:00
|
|
|
DisplayHardware.cpp \
|
2011-11-18 01:49:17 +00:00
|
|
|
EventThread.cpp \
|
|
|
|
Layer.cpp \
|
|
|
|
LayerBase.cpp \
|
|
|
|
LayerDim.cpp \
|
|
|
|
LayerScreenshot.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
DisplayHardware/DisplayHardwareBase.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 \
|
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
|
|
|
|
2011-08-16 03:44:40 +00:00
|
|
|
# this is only needed for DDMS debugging
|
2012-06-19 00:27:56 +00:00
|
|
|
ifneq ($(TARGET_BUILD_PDK),true)
|
2012-03-23 21:17:18 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime
|
2012-06-19 00:27:56 +00:00
|
|
|
LOCAL_CFLAGS += -DDDMS_DEBUGGING
|
2012-03-23 21:17:18 +00:00
|
|
|
LOCAL_SRC_FILES += DdmConnection.cpp
|
|
|
|
endif
|
2011-08-16 03:44:40 +00:00
|
|
|
|
2009-03-04 03:31:44 +00:00
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|