3854ed5490
DDMS debugging depends on non-pdk apis, disable it when a pdk build is selected. Change-Id: I6376b5c4cf49f2c51f35f8d567f7c6d18daf893f
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
EventThread.cpp \
|
|
Layer.cpp \
|
|
LayerBase.cpp \
|
|
LayerDim.cpp \
|
|
LayerScreenshot.cpp \
|
|
DisplayHardware/DisplayHardware.cpp \
|
|
DisplayHardware/DisplayHardwareBase.cpp \
|
|
DisplayHardware/HWComposer.cpp \
|
|
DisplayHardware/VSyncBarrier.cpp \
|
|
DisplayEventConnection.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_HAS_WAITFORVSYNC), true)
|
|
LOCAL_CFLAGS += -DHAS_WAITFORVSYNC
|
|
endif
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), omap3)
|
|
LOCAL_CFLAGS += -DNO_RGBX_8888
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), omap4)
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
|
|
LOCAL_CFLAGS += -DUSE_TRIPLE_BUFFERING
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
|
|
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY -DNEVER_DEFAULT_TO_ASYNC_MODE
|
|
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_CLFAGS += -DDDMS_DEBUGGING
|
|
LOCAL_SRC_FILES += DdmConnection.cpp
|
|
endif
|
|
|
|
LOCAL_MODULE:= libsurfaceflinger
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|