replicant-frameworks_native/libs/surfaceflinger/Android.mk

52 lines
1.0 KiB
Makefile
Raw Normal View History

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-11-13 02:45:53 +00:00
MessageQueue.cpp \
SurfaceFlinger.cpp \
Tokenizer.cpp \
2009-11-13 02:45:53 +00:00
Transform.cpp
2009-11-13 02:45:53 +00:00
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
ifeq ($(TARGET_BOARD_PLATFORM), msm7k)
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
endif
# need "-lrt" on Linux simulator to pick up clock_gettime
ifeq ($(TARGET_SIMULATOR),true)
ifeq ($(HOST_OS),linux)
2009-11-13 02:45:53 +00:00
LOCAL_LDLIBS += -lrt -lpthread
endif
endif
LOCAL_SHARED_LIBRARIES := \
libcutils \
libpixelflinger \
2009-11-13 02:45:53 +00:00
libhardware \
libutils \
libskia \
libEGL \
2009-11-13 02:45:53 +00:00
libGLESv1_CM \
libbinder \
libui
LOCAL_C_INCLUDES := \
$(call include-path-for, corecg graphics)
2009-11-13 02:45:53 +00:00
LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
LOCAL_MODULE:= libsurfaceflinger
include $(BUILD_SHARED_LIBRARY)