summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2016-03-08 18:18:26 -0600
committerMark Salyzyn2017-02-08 15:37:44 -0600
commit62d0d2d683f5d19cf9d451548bd03c4b4f53c42e (patch)
tree6df22a249f02d030b93b7b4db8b5eb815a41614a /liblog/Android.bp
parent8f2492f5821f7163a13c58286de8d0d419fefddc (diff)
downloadplatform-system-core-62d0d2d683f5d19cf9d451548bd03c4b4f53c42e.tar.gz
platform-system-core-62d0d2d683f5d19cf9d451548bd03c4b4f53c42e.tar.xz
platform-system-core-62d0d2d683f5d19cf9d451548bd03c4b4f53c42e.zip
liblog: add logprint to host build
- cleanup of some style issues - resolve a few minor bugs - add -lrt for host so that clock_gettime can be issued - enable write-only logging, logprint and event list handling tests for host consumption. NB: CtsLiblogTestCases_list is only outlet for host testing of the interfaces, but it is not part of any automated testing Test: gTest liblog-unit-tests, liblog-benchmarks and CtsLiblogTestCases_list && build mmma system/core/liblog Bug: 27405083 Change-Id: I13db1f45f67569407587a5a909248de33809b8cf
Diffstat (limited to 'liblog/Android.bp')
-rw-r--r--liblog/Android.bp10
1 files changed, 5 insertions, 5 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp
index 747fcc8dc..cd6784559 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -15,13 +15,14 @@
15// 15//
16 16
17liblog_sources = [ 17liblog_sources = [
18 "config_write.c",
18 "log_event_list.c", 19 "log_event_list.c",
19 "log_event_write.c", 20 "log_event_write.c",
20 "logger_write.c",
21 "config_write.c",
22 "logger_name.c",
23 "logger_lock.c",
24 "log_ratelimit.cpp", 21 "log_ratelimit.cpp",
22 "logger_lock.c",
23 "logger_name.c",
24 "logger_write.c",
25 "logprint.c",
25] 26]
26liblog_host_sources = [ 27liblog_host_sources = [
27 "fake_log_device.c", 28 "fake_log_device.c",
@@ -32,7 +33,6 @@ liblog_target_sources = [
32 "config_read.c", 33 "config_read.c",
33 "log_time.cpp", 34 "log_time.cpp",
34 "properties.c", 35 "properties.c",
35 "logprint.c",
36 "pmsg_reader.c", 36 "pmsg_reader.c",
37 "pmsg_writer.c", 37 "pmsg_writer.c",
38 "logd_reader.c", 38 "logd_reader.c",