summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2014-02-14 18:05:05 -0600
committerMark Salyzyn2014-03-14 12:23:51 -0500
commitfa3716b2501ccddc8e0cd30f6343692b8deb7639 (patch)
treecee7ad53c6d2e9d2aa972686ef7ea203c9d75c28 /liblog/Android.mk
parent6ab10a1c17d048e88f929d35293d266b6480f6d6 (diff)
downloadplatform-system-core-fa3716b2501ccddc8e0cd30f6343692b8deb7639.tar.gz
platform-system-core-fa3716b2501ccddc8e0cd30f6343692b8deb7639.tar.xz
platform-system-core-fa3716b2501ccddc8e0cd30f6343692b8deb7639.zip
logd: liblog: logcat: Arbitrary time to tail
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
Diffstat (limited to 'liblog/Android.mk')
-rw-r--r--liblog/Android.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/liblog/Android.mk b/liblog/Android.mk
index 4fe20db2f..91f9c341e 100644
--- a/liblog/Android.mk
+++ b/liblog/Android.mk
@@ -21,6 +21,7 @@ liblog_sources := logd_write.c
21else 21else
22liblog_sources := logd_write_kern.c 22liblog_sources := logd_write_kern.c
23endif 23endif
24liblog_sources += log_time.cpp
24 25
25ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),) 26ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),)
26liblog_cflags := -DUSERDEBUG_BUILD=1 27liblog_cflags := -DUSERDEBUG_BUILD=1
@@ -60,13 +61,14 @@ endif
60# ======================================================== 61# ========================================================
61LOCAL_MODULE := liblog 62LOCAL_MODULE := liblog
62LOCAL_SRC_FILES := $(liblog_host_sources) 63LOCAL_SRC_FILES := $(liblog_host_sources)
63LOCAL_LDLIBS := -lpthread 64LOCAL_LDLIBS := -lpthread -lrt
64LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 65LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1
65include $(BUILD_HOST_STATIC_LIBRARY) 66include $(BUILD_HOST_STATIC_LIBRARY)
66 67
67include $(CLEAR_VARS) 68include $(CLEAR_VARS)
68LOCAL_MODULE := liblog 69LOCAL_MODULE := liblog
69LOCAL_WHOLE_STATIC_LIBRARIES := liblog 70LOCAL_WHOLE_STATIC_LIBRARIES := liblog
71LOCAL_LDLIBS := -lrt
70include $(BUILD_HOST_SHARED_LIBRARY) 72include $(BUILD_HOST_SHARED_LIBRARY)
71 73
72 74
@@ -75,7 +77,7 @@ include $(BUILD_HOST_SHARED_LIBRARY)
75include $(CLEAR_VARS) 77include $(CLEAR_VARS)
76LOCAL_MODULE := lib64log 78LOCAL_MODULE := lib64log
77LOCAL_SRC_FILES := $(liblog_host_sources) 79LOCAL_SRC_FILES := $(liblog_host_sources)
78LOCAL_LDLIBS := -lpthread 80LOCAL_LDLIBS := -lpthread -lrt
79LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 -m64 81LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 -m64
80include $(BUILD_HOST_STATIC_LIBRARY) 82include $(BUILD_HOST_STATIC_LIBRARY)
81 83