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
|
|
|
|
|
|
|
# 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 := \
|
|
|
|
libhardware \
|
|
|
|
libutils \
|
2009-05-18 22:08:03 +00:00
|
|
|
libbinder \
|
2009-03-04 03:31:44 +00:00
|
|
|
libcutils \
|
|
|
|
libui \
|
|
|
|
libcorecg \
|
|
|
|
libsgl \
|
|
|
|
libpixelflinger \
|
|
|
|
libEGL \
|
|
|
|
libGLESv1_CM
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|