Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 1 | package(default_visibility = ["//visibility:public"]) |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 2 | |
| 3 | cc_binary( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 4 | name = "dump_rtprio", |
| 5 | srcs = [ |
| 6 | "dump_rtprio.cc", |
| 7 | ], |
| 8 | deps = [ |
| 9 | "//aos/common:time", |
| 10 | "//aos/common/logging", |
| 11 | "//aos/common/logging:implementations", |
| 12 | ], |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 13 | ) |
| 14 | |
| 15 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 16 | name = "queue", |
| 17 | hdrs = [ |
| 18 | "queue-tmpl.h", |
| 19 | ], |
| 20 | visibility = ["//aos/common:__pkg__"], |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 21 | ) |
| 22 | |
| 23 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 24 | name = "complex_thread_local", |
| 25 | srcs = [ |
| 26 | "complex_thread_local.cc", |
| 27 | ], |
| 28 | hdrs = [ |
| 29 | "complex_thread_local.h", |
| 30 | ], |
| 31 | linkopts = [ |
| 32 | "-lpthread", |
| 33 | ], |
| 34 | deps = [ |
| 35 | "//aos:once", |
| 36 | "//aos/common:die", |
| 37 | ], |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 38 | ) |
| 39 | |
| 40 | cc_test( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 41 | name = "complex_thread_local_test", |
| 42 | srcs = [ |
| 43 | "complex_thread_local_test.cc", |
| 44 | ], |
| 45 | deps = [ |
| 46 | ":complex_thread_local", |
| 47 | "//aos/common/logging", |
| 48 | "//aos/common/util:thread", |
| 49 | "//aos/testing:googletest", |
| 50 | ], |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 51 | ) |
| 52 | |
| 53 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 54 | name = "init", |
| 55 | srcs = [ |
| 56 | "init.cc", |
| 57 | ], |
| 58 | hdrs = [ |
| 59 | "init.h", |
| 60 | ], |
| 61 | deps = [ |
| 62 | "//aos/common:die", |
| 63 | "//aos/common/logging:implementations", |
| 64 | "//aos/linux_code/ipc_lib:shared_mem", |
| 65 | ], |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 66 | ) |
| 67 | |
| 68 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 69 | name = "configuration", |
| 70 | srcs = [ |
| 71 | "configuration.cc", |
| 72 | ], |
| 73 | hdrs = [ |
| 74 | "configuration.h", |
| 75 | ], |
| 76 | deps = [ |
| 77 | "//aos:once", |
| 78 | "//aos/common:unique_malloc_ptr", |
| 79 | "//aos/common/logging", |
| 80 | ], |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 81 | ) |
| 82 | |
| 83 | cc_binary( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame^] | 84 | name = "core", |
| 85 | srcs = [ |
| 86 | "core.cc", |
| 87 | ], |
| 88 | deps = [ |
| 89 | ":init", |
| 90 | "//aos/common/util:run_command", |
| 91 | ], |
Austin Schuh | f073651 | 2015-09-07 01:22:16 -0700 | [diff] [blame] | 92 | ) |