liblog: Build Breakage in sdk(linux)
- Build Breakage in branch: aosp-idea133 @ 1072786
Change-Id: I36da253b69a66977ec568a5f96d38b970c25fe3e
diff --git a/liblog/Android.mk b/liblog/Android.mk
index 91f9c34..54e0b92 100644
--- a/liblog/Android.mk
+++ b/liblog/Android.mk
@@ -21,7 +21,6 @@
else
liblog_sources := logd_write_kern.c
endif
-liblog_sources += log_time.cpp
ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),)
liblog_cflags := -DUSERDEBUG_BUILD=1
@@ -51,10 +50,11 @@
endif
liblog_host_sources := $(liblog_sources) fake_log_device.c
+liblog_target_sources := $(liblog_sources) log_time.cpp
ifneq ($(TARGET_USES_LOGD),false)
-liblog_target_sources = $(liblog_sources) log_read.c
+liblog_target_sources += log_read.c
else
-liblog_target_sources = $(liblog_sources) log_read_kern.c
+liblog_target_sources += log_read_kern.c
endif
# Shared and static library for host