0f2f5ff75b
Change-Id: I3f7250cd914e0da4f9ec2c9403587bbe12f3cc62
61 lines
1.7 KiB
Makefile
61 lines
1.7 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
Client.cpp \
|
|
DisplayDevice.cpp \
|
|
EventThread.cpp \
|
|
Layer.cpp \
|
|
LayerBase.cpp \
|
|
LayerDim.cpp \
|
|
LayerScreenshot.cpp \
|
|
DisplayHardware/DisplayDeviceBase.cpp \
|
|
DisplayHardware/FramebufferSurface.cpp \
|
|
DisplayHardware/HWComposer.cpp \
|
|
DisplayHardware/PowerHAL.cpp \
|
|
GLExtensions.cpp \
|
|
MessageQueue.cpp \
|
|
SurfaceFlinger.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
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libhardware \
|
|
libutils \
|
|
libEGL \
|
|
libGLESv1_CM \
|
|
libbinder \
|
|
libui \
|
|
libgui
|
|
|
|
# this is only needed for DDMS debugging
|
|
ifneq ($(TARGET_BUILD_PDK),true)
|
|
LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime
|
|
LOCAL_CFLAGS += -DDDMS_DEBUGGING
|
|
LOCAL_SRC_FILES += DdmConnection.cpp
|
|
endif
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|