blob: 8bd59b91b2477ca79ee261510e5581c3f15f1bdb [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 Silverman258b9172015-09-19 14:32:57 -04009 '//aos/testing:googletest',
Brian Silverman100534c2015-09-07 15:51:23 -040010 '//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 = [
Brian Silverman258b9172015-09-19 14:32:57 -040038 '//aos/common:generated_queue_headers',
Brian Silverman100534c2015-09-07 15:51:23 -040039 '//aos/common/logging',
40 '//aos/common:die',
41 '//aos/common:queue_types',
42 '//third_party/eigen',
43 ],
44)
Brian Silvermanf480a612015-09-13 02:22:01 -040045
46cc_library(
47 name = 'logging_interface',
48 srcs = [
49 'logging_interface.cc',
50 ],
51 deps = [
52 '//aos/linux_code/logging:linux_interface',
53 '//aos/common:die',
54 '//aos/common/libc:aos_strerror',
55 ],
56)
57
58cc_library(
59 name = 'logging',
60 srcs = [
61 'logging_impl.cc',
Brian Silvermanf480a612015-09-13 02:22:01 -040062 ],
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)