2009-03-04 03:31:44 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
clz.cpp.arm \
|
|
|
|
DisplayHardware/DisplayHardware.cpp \
|
|
|
|
DisplayHardware/DisplayHardwareBase.cpp \
|
2010-08-11 00:14:02 +00:00
|
|
|
DisplayHardware/HWComposer.cpp \
|
2010-06-26 01:02:21 +00:00
|
|
|
GLExtensions.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
Layer.cpp \
|
|
|
|
LayerBase.cpp \
|
|
|
|
LayerDim.cpp \
|
2009-04-21 02:39:12 +00:00
|
|
|
MessageQueue.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
SurfaceFlinger.cpp \
|
2010-05-11 03:06:11 +00:00
|
|
|
TextureManager.cpp \
|
2009-04-10 21:24:30 +00:00
|
|
|
Transform.cpp
|
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
|
|
|
|
2010-06-30 22:43:47 +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
|
2010-10-12 00:54:43 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
|
|
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
|
|
endif
|
|
|
|
|
2010-06-30 22:43:47 +00:00
|
|
|
|
2009-03-04 03:31:44 +00:00
|
|
|
# need "-lrt" on Linux simulator to pick up clock_gettime
|
|
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
|
|
ifeq ($(HOST_OS),linux)
|
2009-07-14 05:58:25 +00:00
|
|
|
LOCAL_LDLIBS += -lrt -lpthread
|
2009-03-04 03:31:44 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
|
2009-06-24 23:55:59 +00:00
|
|
|
LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
|
|
|
|
|
2009-03-04 03:31:44 +00:00
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|