summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2016-03-10 08:37:31 +1100
committerSimon Shields <keepcalm444@gmail.com>2016-03-16 09:59:58 +1100
commitfb7e634f3d725728d65e0c32c5d20c99d91a158e (patch)
tree310b8d043e7148e4233ad1d662f0cb7811dff52c
parent4d437e4e9a19c5e37b48cfdd95183a02fb626646 (diff)
downloadsystem_core-fb7e634f3d725728d65e0c32c5d20c99d91a158e.zip
system_core-fb7e634f3d725728d65e0c32c5d20c99d91a158e.tar.gz
system_core-fb7e634f3d725728d65e0c32c5d20c99d91a158e.tar.bz2
liblog: build log_event_write regardless of TARGET_USES_LOGD
Change-Id: Ia1dde2a46e0520cd0129079b0091ad534d750ee7
-rw-r--r--liblog/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/liblog/Android.mk b/liblog/Android.mk
index 115dd79..6714498 100644
--- a/liblog/Android.mk
+++ b/liblog/Android.mk
@@ -25,11 +25,13 @@ include $(CLEAR_VARS)
liblog_cflags := -DLIBLOG_LOG_TAG=1005
ifneq ($(TARGET_USES_LOGD),false)
-liblog_sources := logd_write.c log_event_write.c
+liblog_sources := logd_write.c
else
liblog_sources := logd_write_kern.c
endif
+liblog_sources += log_event_write.c
+
# some files must not be compiled when building against Mingw
# they correspond to features not used by our host development tools
# which are also hard or even impossible to port to native Win32