Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 1 | package(default_visibility = ['//visibility:public']) |
| 2 | |
| 3 | cc_library( |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 4 | name = 'log_replay', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 5 | srcs = [ |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 6 | 'log_replay.cc', |
| 7 | ], |
| 8 | hdrs = [ |
| 9 | 'log_replay.h', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 10 | ], |
| 11 | deps = [ |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 12 | ':binary_log_file', |
| 13 | '//aos/common:queues', |
| 14 | '//aos/common/logging', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 15 | '//aos/linux_code/ipc_lib:queue', |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 16 | ], |
| 17 | ) |
| 18 | |
| 19 | cc_binary( |
| 20 | name = 'binary_log_writer', |
| 21 | srcs = [ |
| 22 | 'binary_log_writer.cc', |
| 23 | ], |
| 24 | deps = [ |
| 25 | '//aos/common/logging', |
| 26 | '//aos/linux_code:init', |
| 27 | '//aos/linux_code:configuration', |
| 28 | '//aos/common:die', |
| 29 | ':binary_log_file', |
| 30 | '//aos/common:queue_types', |
| 31 | ], |
| 32 | ) |
| 33 | |
| 34 | cc_binary( |
| 35 | name = 'log_streamer', |
| 36 | srcs = [ |
| 37 | 'log_streamer.cc', |
| 38 | ], |
| 39 | deps = [ |
| 40 | '//aos/common/logging', |
| 41 | '//aos/linux_code:init', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 42 | '//aos/common:time', |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 43 | '//aos/linux_code/ipc_lib:queue', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 44 | ], |
| 45 | ) |
| 46 | |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 47 | cc_binary( |
| 48 | name = 'log_displayer', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 49 | srcs = [ |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 50 | 'log_displayer.cc', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 51 | ], |
| 52 | deps = [ |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 53 | '//aos/common/logging', |
| 54 | '//aos/linux_code:init', |
| 55 | ':binary_log_file', |
| 56 | '//aos/common:queue_types', |
| 57 | '//aos/linux_code:configuration', |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame^] | 58 | '//aos/common/util:string_to_num', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 59 | ], |
| 60 | ) |
| 61 | |
| 62 | cc_library( |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 63 | name = 'binary_log_file', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 64 | srcs = [ |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 65 | 'binary_log_file.cc', |
| 66 | ], |
| 67 | hdrs = [ |
| 68 | 'binary_log_file.h', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 69 | ], |
| 70 | deps = [ |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 71 | '//aos/common/logging', |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 72 | ], |
| 73 | ) |
Brian Silverman | f480a61 | 2015-09-13 02:22:01 -0400 | [diff] [blame] | 74 | |
| 75 | cc_library( |
| 76 | name = 'linux_interface', |
| 77 | visibility = ['//aos/common/logging:__pkg__'], |
| 78 | srcs = [ |
| 79 | 'linux_interface.cc', |
| 80 | ], |
| 81 | deps = [ |
| 82 | '//aos/linux_code:complex_thread_local', |
| 83 | '//aos/common:die', |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame^] | 84 | '//aos/common/logging:context', |
Brian Silverman | f480a61 | 2015-09-13 02:22:01 -0400 | [diff] [blame] | 85 | ], |
| 86 | ) |
| 87 | |
| 88 | cc_library( |
| 89 | name = 'linux_logging', |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame^] | 90 | visibility = [ |
| 91 | '//aos/common/logging:__pkg__', |
| 92 | '//aos/linux_code:__subpackages__' |
| 93 | ], |
| 94 | hdrs = [ |
| 95 | 'linux_logging.h', |
| 96 | ], |
Brian Silverman | f480a61 | 2015-09-13 02:22:01 -0400 | [diff] [blame] | 97 | srcs = [ |
| 98 | 'linux_logging.cc', |
| 99 | ], |
| 100 | deps = [ |
| 101 | '//aos/linux_code/ipc_lib:queue', |
| 102 | '//aos/common:time', |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame^] | 103 | '//aos/common/logging:logging', |
Brian Silverman | f480a61 | 2015-09-13 02:22:01 -0400 | [diff] [blame] | 104 | ], |
| 105 | ) |