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 \
|
|
|
|
BootAnimation.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 \
|
|
|
|
LayerOrientationAnim.cpp \
|
2009-03-28 00:58:20 +00:00
|
|
|
LayerOrientationAnimRotate.cpp \
|
2009-03-04 03:31:44 +00:00
|
|
|
OrientationAnimation.cpp \
|
|
|
|
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 \
|
|
|
|
libcutils \
|
|
|
|
libui \
|
|
|
|
libcorecg \
|
|
|
|
libsgl \
|
|
|
|
libpixelflinger \
|
|
|
|
libEGL \
|
|
|
|
libGLESv1_CM
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|