d87f162026
this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
clz.cpp.arm \
|
|
DisplayHardware/DisplayHardware.cpp \
|
|
DisplayHardware/DisplayHardwareBase.cpp \
|
|
DisplayHardware/HWComposer.cpp \
|
|
GLExtensions.cpp \
|
|
Layer.cpp \
|
|
LayerBase.cpp \
|
|
LayerDim.cpp \
|
|
MessageQueue.cpp \
|
|
SurfaceFlinger.cpp \
|
|
TextureManager.cpp \
|
|
Transform.cpp
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
|
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), omap3)
|
|
LOCAL_CFLAGS += -DNO_RGBX_8888
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
endif
|
|
|
|
|
|
# need "-lrt" on Linux simulator to pick up clock_gettime
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
ifeq ($(HOST_OS),linux)
|
|
LOCAL_LDLIBS += -lrt -lpthread
|
|
endif
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libhardware \
|
|
libutils \
|
|
libEGL \
|
|
libGLESv1_CM \
|
|
libbinder \
|
|
libui \
|
|
libgui
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
$(call include-path-for, corecg graphics)
|
|
|
|
LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|