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