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 \
|
|
|
|
BlurFilter.cpp.arm \
|
2010-06-26 01:02:21 +00:00
|
|
|
GLExtensions.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
Layer.cpp \
|
|
|
|
LayerBase.cpp \
|
|
|
|
LayerBuffer.cpp \
|
|
|
|
LayerBlur.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
|
|
|
|
|
|
|
# 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 \
|
|
|
|
libpixelflinger \
|
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 \
|
|
|
|
libsurfaceflinger_client
|
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)
|