libc: Make calls to new user-space logger (revisit)

* TARGET_USES_LOGD is true or false, yes is not valid
* was supposed to be in the libc_bionic definition

Change-Id: I7f15d0fe61205641f7310ba9762df885e6c959d0
This commit is contained in:
Mark Salyzyn 2014-03-03 11:00:08 -08:00
parent ddad384dbf
commit f38292862b

View File

@ -467,9 +467,6 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := bionic/__stack_chk_fail.cpp
LOCAL_CFLAGS := $(libc_common_cflags) -fno-stack-protector -Werror
ifeq ($(TARGET_USES_LOGD),yes)
LOCAL_CFLAGS += -DTARGET_USES_LOGD
endif
LOCAL_CONLYFLAGS := $(libc_common_conlyflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
@ -626,6 +623,10 @@ LOCAL_SYSTEM_SHARED_LIBRARIES :=
# Since this code is experimental it is disabled by default.
LOCAL_CFLAGS += -DPTHREAD_DEBUG_ENABLED=false
ifeq ($(TARGET_USES_LOGD),true)
LOCAL_CFLAGS += -DTARGET_USES_LOGD
endif
$(eval $(call patch-up-arch-specific-flags,LOCAL_CFLAGS,libc_common_cflags))
$(eval $(call patch-up-arch-specific-flags,LOCAL_SRC_FILES,libc_bionic_src_files))
include $(BUILD_STATIC_LIBRARY)