13127d8921
The functionality of LayerBase and Layer is folded into Layer. There wasn't a need for this abstraction anymore. Change-Id: I66511c08cc3d89009ba4deabf47e26cd4cfeaefb
76 lines
2.0 KiB
Makefile
76 lines
2.0 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
Client.cpp \
|
|
DisplayDevice.cpp \
|
|
EventThread.cpp \
|
|
FrameTracker.cpp \
|
|
Layer.cpp \
|
|
LayerDim.cpp \
|
|
DisplayHardware/FramebufferSurface.cpp \
|
|
DisplayHardware/HWComposer.cpp \
|
|
DisplayHardware/PowerHAL.cpp \
|
|
GLExtensions.cpp \
|
|
MessageQueue.cpp \
|
|
SurfaceFlinger.cpp \
|
|
SurfaceFlingerConsumer.cpp \
|
|
SurfaceTextureLayer.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),omap4)
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
LOCAL_CFLAGS += -DNEVER_DEFAULT_TO_ASYNC_MODE
|
|
endif
|
|
|
|
ifeq ($(TARGET_DISABLE_TRIPLE_BUFFERING),true)
|
|
LOCAL_CFLAGS += -DTARGET_DISABLE_TRIPLE_BUFFERING
|
|
endif
|
|
|
|
ifneq ($(NUM_FRAMEBUFFER_SURFACE_BUFFERS),)
|
|
LOCAL_CFLAGS += -DNUM_FRAMEBUFFER_SURFACE_BUFFERS=$(NUM_FRAMEBUFFER_SURFACE_BUFFERS)
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libdl \
|
|
libhardware \
|
|
libutils \
|
|
libEGL \
|
|
libGLESv1_CM \
|
|
libbinder \
|
|
libui \
|
|
libgui
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
###############################################################
|
|
# uses jni which may not be available in PDK
|
|
ifneq ($(wildcard libnativehelper/include),)
|
|
include $(CLEAR_VARS)
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
DdmConnection.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libdl
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger_ddmconnection
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
endif # libnativehelper
|