summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2016-03-01 15:45:42 -0600
committerDan Willemsen2016-03-22 15:01:15 -0500
commit018a96d03f0d452bf078084eedcd5693da42308d (patch)
tree28a998736c3637944985ccacb20539527e19d3e5 /liblog/Android.bp
parent80b1b188281b0c89e94cd9c3c3f2b04f007d6b28 (diff)
downloadplatform-system-core-018a96d03f0d452bf078084eedcd5693da42308d.tar.gz
platform-system-core-018a96d03f0d452bf078084eedcd5693da42308d.tar.xz
platform-system-core-018a96d03f0d452bf078084eedcd5693da42308d.zip
liblog: split out transports into separate files
Create config_logger, logger and logger_read to house the log interfaces. Add fake_logger, logd_logger and pmsg_logger to house the write and read transports. Allows for an easier and direct path to add new transports to the library. SideEffects: None, logger benchmark performance unaffected Bug: 27176738 Bug: 27405083 Change-Id: I01b38637334a5242905c8c89f6ab0a92e2540008
Diffstat (limited to 'liblog/Android.bp')
-rw-r--r--liblog/Android.bp13
1 files changed, 11 insertions, 2 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp
index 607d667bf..59c696bbe 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -15,20 +15,29 @@
15// 15//
16 16
17liblog_sources = [ 17liblog_sources = [
18 "logd_write.c",
19 "log_event_list.c", 18 "log_event_list.c",
20 "log_event_write.c", 19 "log_event_write.c",
20 "logger_write.c",
21 "config_write.c",
22 "logger_name.c",
23 "logger_lock.c",
21] 24]
22liblog_host_sources = [ 25liblog_host_sources = [
23 "fake_log_device.c", 26 "fake_log_device.c",
24 //"event.logtags", 27 //"event.logtags",
28 "fake_writer.c",
25] 29]
26liblog_target_sources = [ 30liblog_target_sources = [
27 "event_tag_map.c", 31 "event_tag_map.c",
32 "config_read.c",
28 "log_time.cpp", 33 "log_time.cpp",
29 "log_is_loggable.c", 34 "log_is_loggable.c",
30 "logprint.c", 35 "logprint.c",
31 "log_read.c", 36 "pmsg_reader.c",
37 "pmsg_writer.c",
38 "logd_reader.c",
39 "logd_writer.c",
40 "logger_read.c",
32] 41]
33 42
34// Shared and static library for host and device 43// Shared and static library for host and device