blob: 7adb3d6507e66f8096c6ef3ba506919b0d4c0b0e [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 = [
32 '//aos/common:once',
33 '//aos/common:die',
Austin Schuh55139fe2015-10-14 23:55:24 -070034 '//debian:libpthread',
Austin Schuhf0736512015-09-07 01:22:16 -070035 ],
36)
37
38cc_test(
39 name = 'complex_thread_local_test',
40 srcs = [
41 'complex_thread_local_test.cc',
42 ],
43 deps = [
44 ':complex_thread_local',
Brian Silverman258b9172015-09-19 14:32:57 -040045 '//aos/testing:googletest',
Austin Schuhf0736512015-09-07 01:22:16 -070046 '//aos/common/util:thread',
Brian Silverman100534c2015-09-07 15:51:23 -040047 '//aos/common/logging',
Austin Schuhf0736512015-09-07 01:22:16 -070048 ],
49)
50
51cc_library(
52 name = 'init',
53 srcs = [
54 'init.cc',
55 ],
Brian Silverman100534c2015-09-07 15:51:23 -040056 hdrs = [
57 'init.h',
58 ],
Austin Schuhf0736512015-09-07 01:22:16 -070059 deps = [
60 '//aos/linux_code/ipc_lib:shared_mem',
61 '//aos/common:die',
Brian Silvermancb5da1f2015-12-05 22:19:58 -050062 '//aos/common/logging:implementations',
Austin Schuhf0736512015-09-07 01:22:16 -070063 ],
64)
65
66cc_library(
67 name = 'configuration',
Brian Silverman100534c2015-09-07 15:51:23 -040068 srcs = [
Austin Schuhf0736512015-09-07 01:22:16 -070069 'configuration.cc',
70 ],
Brian Silverman100534c2015-09-07 15:51:23 -040071 hdrs = [
72 'configuration.h',
73 ],
Austin Schuhf0736512015-09-07 01:22:16 -070074 deps = [
75 '//aos/common:once',
Brian Silverman100534c2015-09-07 15:51:23 -040076 '//aos/common/logging',
Austin Schuh044e18b2015-10-21 20:17:09 -070077 '//aos/common:unique_malloc_ptr',
Austin Schuhf0736512015-09-07 01:22:16 -070078 ],
79)
80
81cc_binary(
82 name = 'core',
83 srcs = [
84 'core.cc',
85 ],
86 deps = [
87 ':init',
88 '//aos/common/util:run_command',
89 ],
90)