fix typo in makefile LOCAL_CFLAGS was spelled LOCAL_CLFAGS

Change-Id: I58b96d28f608ce16fcad5ed0efb887e582779e03
This commit is contained in:
Mathias Agopian 2012-06-18 17:27:56 -07:00
parent db403e8ff0
commit 5df996211d
2 changed files with 8 additions and 6 deletions

View File

@ -23,18 +23,18 @@ LOCAL_SRC_FILES:= \
LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\" LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
ifeq ($(TARGET_BOARD_PLATFORM), omap3) ifeq ($(TARGET_BOARD_PLATFORM),omap3)
LOCAL_CFLAGS += -DNO_RGBX_8888 LOCAL_CFLAGS += -DNO_RGBX_8888
endif endif
ifeq ($(TARGET_BOARD_PLATFORM), omap4) ifeq ($(TARGET_BOARD_PLATFORM),omap4)
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
endif endif
ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
LOCAL_CFLAGS += -DNEVER_DEFAULT_TO_ASYNC_MODE LOCAL_CFLAGS += -DNEVER_DEFAULT_TO_ASYNC_MODE
endif endif
ifeq ($(TARGET_DISABLE_TRIPLE_BUFFERING), true) ifeq ($(TARGET_DISABLE_TRIPLE_BUFFERING),true)
LOCAL_CFLAGS += -DTARGET_DISABLE_TRIPLE_BUFFERING LOCAL_CFLAGS += -DTARGET_DISABLE_TRIPLE_BUFFERING
endif endif
@ -49,9 +49,9 @@ LOCAL_SHARED_LIBRARIES := \
libgui libgui
# this is only needed for DDMS debugging # this is only needed for DDMS debugging
ifneq ($(TARGET_BUILD_PDK), true) ifneq ($(TARGET_BUILD_PDK),true)
LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime
LOCAL_CLFAGS += -DDDMS_DEBUGGING LOCAL_CFLAGS += -DDDMS_DEBUGGING
LOCAL_SRC_FILES += DdmConnection.cpp LOCAL_SRC_FILES += DdmConnection.cpp
endif endif

View File

@ -118,6 +118,8 @@ void SurfaceFlinger::init()
if (mDebugDDMS) { if (mDebugDDMS) {
DdmConnection::start(getServiceName()); DdmConnection::start(getServiceName());
} }
#else
#warning "DDMS_DEBUGGING disabled"
#endif #endif
ALOGI_IF(mDebugRegion, "showupdates enabled"); ALOGI_IF(mDebugRegion, "showupdates enabled");