2009-03-03 19:31:44 -08:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
clz.cpp.arm \
|
|
|
|
DisplayHardware/DisplayHardware.cpp \
|
|
|
|
DisplayHardware/DisplayHardwareBase.cpp \
|
|
|
|
BlurFilter.cpp.arm \
|
|
|
|
Layer.cpp \
|
|
|
|
LayerBase.cpp \
|
|
|
|
LayerBuffer.cpp \
|
|
|
|
LayerBlur.cpp \
|
|
|
|
LayerDim.cpp \
|
2009-04-20 19:39:12 -07:00
|
|
|
MessageQueue.cpp \
|
2009-03-03 19:31:44 -08:00
|
|
|
SurfaceFlinger.cpp \
|
|
|
|
Tokenizer.cpp \
|
2009-04-10 14:24:30 -07:00
|
|
|
Transform.cpp
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-04-10 14:24:30 -07:00
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
|
|
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-06-18 18:48:39 -07:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), msm7k)
|
|
|
|
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
|
|
|
|
endif
|
2009-08-10 21:13:06 -07:00
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), qsd8k)
|
|
|
|
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
|
|
|
|
endif
|
2009-06-18 18:48:39 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
# need "-lrt" on Linux simulator to pick up clock_gettime
|
|
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
|
|
ifeq ($(HOST_OS),linux)
|
2009-07-13 22:58:25 -07:00
|
|
|
LOCAL_LDLIBS += -lrt -lpthread
|
2009-03-03 19:31:44 -08:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
2009-07-02 19:04:39 -07:00
|
|
|
libcutils \
|
|
|
|
libpixelflinger \
|
2009-03-03 19:31:44 -08:00
|
|
|
libhardware \
|
|
|
|
libutils \
|
2009-07-10 15:33:21 -04:00
|
|
|
libskia \
|
2009-03-03 19:31:44 -08:00
|
|
|
libEGL \
|
2009-07-02 19:04:39 -07:00
|
|
|
libGLESv1_CM \
|
|
|
|
libbinder \
|
|
|
|
libui
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
|
2009-06-24 16:55:59 -07:00
|
|
|
LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|