blob: 259538c98e6a0ea6bed839b186a02d4f8e64a798 [file] [log] [blame]
Austin Schuhf0736512015-09-07 01:22:16 -07001package(default_visibility = ['//visibility:public'])
2
3cc_binary(
4 name = 'dump_rtprio',
5 srcs = [
6 'dump_rtprio.cc',
7 ],
8 deps = [
Brian Silverman100534c2015-09-07 15:51:23 -04009 '//aos/common/logging',
Brian Silvermancb5da1f2015-12-05 22:19:58 -050010 '//aos/common/logging:implementations',
Austin Schuhf0736512015-09-07 01:22:16 -070011 '//aos/common:time',
12 ],
13)
14
15cc_library(
Austin Schuh044e18b2015-10-21 20:17:09 -070016 name = 'queue',
17 visibility = ['//aos/common:__pkg__'],
18 hdrs = [
19 'queue-tmpl.h',
20 ],
21)
22
23cc_library(
Austin Schuhf0736512015-09-07 01:22:16 -070024 name = 'complex_thread_local',
25 srcs = [
Brian Silverman100534c2015-09-07 15:51:23 -040026 'complex_thread_local.cc',
27 ],
28 hdrs = [
29 'complex_thread_local.h',
Austin Schuhf0736512015-09-07 01:22:16 -070030 ],
31 deps = [
Sabina Davis2ed5ea22017-09-26 22:27:42 -070032 '//aos:once',
Austin Schuhf0736512015-09-07 01:22:16 -070033 '//aos/common:die',
Philipp Schraderb3a057e2018-03-10 18:59:40 -080034 ],
35 linkopts = [
36 "-pthread",
Austin Schuhf0736512015-09-07 01:22:16 -070037 ],
38)
39
40cc_test(
41 name = 'complex_thread_local_test',
42 srcs = [
43 'complex_thread_local_test.cc',
44 ],
45 deps = [
46 ':complex_thread_local',
Brian Silverman258b9172015-09-19 14:32:57 -040047 '//aos/testing:googletest',
Austin Schuhf0736512015-09-07 01:22:16 -070048 '//aos/common/util:thread',
Brian Silverman100534c2015-09-07 15:51:23 -040049 '//aos/common/logging',
Austin Schuhf0736512015-09-07 01:22:16 -070050 ],
51)
52
53cc_library(
54 name = 'init',
55 srcs = [
56 'init.cc',
57 ],
Brian Silverman100534c2015-09-07 15:51:23 -040058 hdrs = [
59 'init.h',
60 ],
Austin Schuhf0736512015-09-07 01:22:16 -070061 deps = [
62 '//aos/linux_code/ipc_lib:shared_mem',
63 '//aos/common:die',
Brian Silvermancb5da1f2015-12-05 22:19:58 -050064 '//aos/common/logging:implementations',
Austin Schuhf0736512015-09-07 01:22:16 -070065 ],
66)
67
68cc_library(
69 name = 'configuration',
Brian Silverman100534c2015-09-07 15:51:23 -040070 srcs = [
Austin Schuhf0736512015-09-07 01:22:16 -070071 'configuration.cc',
72 ],
Brian Silverman100534c2015-09-07 15:51:23 -040073 hdrs = [
74 'configuration.h',
75 ],
Austin Schuhf0736512015-09-07 01:22:16 -070076 deps = [
Sabina Davis2ed5ea22017-09-26 22:27:42 -070077 '//aos:once',
Brian Silverman100534c2015-09-07 15:51:23 -040078 '//aos/common/logging',
Austin Schuh044e18b2015-10-21 20:17:09 -070079 '//aos/common:unique_malloc_ptr',
Austin Schuhf0736512015-09-07 01:22:16 -070080 ],
81)
82
83cc_binary(
84 name = 'core',
85 srcs = [
86 'core.cc',
87 ],
88 deps = [
89 ':init',
90 '//aos/common/util:run_command',
91 ],
92)