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 \
|
2009-04-10 21:24:30 +00:00
|
|
|
BufferAllocator.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
Layer.cpp \
|
|
|
|
LayerBase.cpp \
|
|
|
|
LayerBuffer.cpp \
|
|
|
|
LayerBlur.cpp \
|
|
|
|
LayerBitmap.cpp \
|
|
|
|
LayerDim.cpp \
|
2009-04-21 02:39:12 +00:00
|
|
|
MessageQueue.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
SurfaceFlinger.cpp \
|
|
|
|
Tokenizer.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
|
|
|
|
2009-06-19 01:48:39 +00:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), msm7k)
|
|
|
|
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
|
|
|
|
endif
|
|
|
|
|
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)
|
|
|
|
LOCAL_LDLIBS += -lrt
|
|
|
|
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 \
|
|
|
|
libcorecg \
|
|
|
|
libEGL \
|
2009-07-03 02:04:39 +00:00
|
|
|
libGLESv1_CM \
|
|
|
|
libbinder \
|
|
|
|
libui
|
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)
|