blob: 82aaf16915ccdbf0cec422ef252882c840f4926a [file] [log] [blame]
Austin Schuhf0736512015-09-07 01:22:16 -07001package(default_visibility = ['//visibility:public'])
2
Brian Silverman100534c2015-09-07 15:51:23 -04003cc_test(
4 name = 'logging_impl_test',
Austin Schuhf0736512015-09-07 01:22:16 -07005 srcs = [
Brian Silverman100534c2015-09-07 15:51:23 -04006 'logging_impl_test.cc',
Austin Schuhf0736512015-09-07 01:22:16 -07007 ],
8 deps = [
Brian Silverman100534c2015-09-07 15:51:23 -04009 '//third_party/gtest',
10 '//aos/common/logging',
Austin Schuhf0736512015-09-07 01:22:16 -070011 ],
12)
13
14cc_library(
Brian Silverman100534c2015-09-07 15:51:23 -040015 name = 'queue_logging',
Austin Schuhf0736512015-09-07 01:22:16 -070016 srcs = [
Brian Silverman100534c2015-09-07 15:51:23 -040017 'queue_logging.cc',
18 ],
19 hdrs = [
20 'queue_logging.h',
Austin Schuhf0736512015-09-07 01:22:16 -070021 ],
22 deps = [
Brian Silverman100534c2015-09-07 15:51:23 -040023 '//aos/common/logging',
24 '//aos/common:die',
Austin Schuhf0736512015-09-07 01:22:16 -070025 '//aos/common:queue_types',
26 ],
27)
Brian Silverman100534c2015-09-07 15:51:23 -040028
29cc_library(
30 name = 'matrix_logging',
31 srcs = [
32 'matrix_logging.cc',
33 ],
34 hdrs = [
35 'matrix_logging.h',
36 ],
37 deps = [
38 '//aos/common/logging',
39 '//aos/common:die',
40 '//aos/common:queue_types',
41 '//third_party/eigen',
42 ],
43)
Brian Silvermanf480a612015-09-13 02:22:01 -040044
45cc_library(
46 name = 'logging_interface',
47 srcs = [
48 'logging_interface.cc',
49 ],
50 deps = [
51 '//aos/linux_code/logging:linux_interface',
52 '//aos/common:die',
53 '//aos/common/libc:aos_strerror',
54 ],
55)
56
57cc_library(
58 name = 'logging',
59 srcs = [
60 'logging_impl.cc',
61 'linux_logging.cc',
62 ],
63 deps = [
64 '//aos/linux_code/logging:linux_logging',
65 '//aos/common:time',
66 '//aos/common:once',
67 ':logging_interface',
68 '//aos/common:queue_types',
69 ],
70)