blob: b0c88b59477cc5089b3fb4eadd87f3fdb9fdee30 [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',
Austin Schuhf0736512015-09-07 01:22:16 -070010 '//aos/common:time',
11 ],
12)
13
14cc_library(
Austin Schuh044e18b2015-10-21 20:17:09 -070015 name = 'queue',
16 visibility = ['//aos/common:__pkg__'],
17 hdrs = [
18 'queue-tmpl.h',
19 ],
20)
21
22cc_library(
Austin Schuhf0736512015-09-07 01:22:16 -070023 name = 'complex_thread_local',
24 srcs = [
Brian Silverman100534c2015-09-07 15:51:23 -040025 'complex_thread_local.cc',
26 ],
27 hdrs = [
28 'complex_thread_local.h',
Austin Schuhf0736512015-09-07 01:22:16 -070029 ],
30 deps = [
31 '//aos/common:once',
32 '//aos/common:die',
Austin Schuh55139fe2015-10-14 23:55:24 -070033 '//debian:libpthread',
Austin Schuhf0736512015-09-07 01:22:16 -070034 ],
35)
36
37cc_test(
38 name = 'complex_thread_local_test',
39 srcs = [
40 'complex_thread_local_test.cc',
41 ],
42 deps = [
43 ':complex_thread_local',
Brian Silverman258b9172015-09-19 14:32:57 -040044 '//aos/testing:googletest',
Austin Schuhf0736512015-09-07 01:22:16 -070045 '//aos/common/util:thread',
Brian Silverman100534c2015-09-07 15:51:23 -040046 '//aos/common/logging',
Austin Schuhf0736512015-09-07 01:22:16 -070047 ],
48)
49
50cc_library(
51 name = 'init',
52 srcs = [
53 'init.cc',
54 ],
Brian Silverman100534c2015-09-07 15:51:23 -040055 hdrs = [
56 'init.h',
57 ],
Austin Schuhf0736512015-09-07 01:22:16 -070058 deps = [
59 '//aos/linux_code/ipc_lib:shared_mem',
60 '//aos/common:die',
Brian Silvermanf44f1242015-12-05 20:19:48 -050061 '//aos/common/logging:linux_logging',
Austin Schuhf0736512015-09-07 01:22:16 -070062 ],
63)
64
65cc_library(
66 name = 'configuration',
Brian Silverman100534c2015-09-07 15:51:23 -040067 srcs = [
Austin Schuhf0736512015-09-07 01:22:16 -070068 'configuration.cc',
69 ],
Brian Silverman100534c2015-09-07 15:51:23 -040070 hdrs = [
71 'configuration.h',
72 ],
Austin Schuhf0736512015-09-07 01:22:16 -070073 deps = [
74 '//aos/common:once',
Brian Silverman100534c2015-09-07 15:51:23 -040075 '//aos/common/logging',
Austin Schuh044e18b2015-10-21 20:17:09 -070076 '//aos/common:unique_malloc_ptr',
Austin Schuhf0736512015-09-07 01:22:16 -070077 ],
78)
79
80cc_binary(
81 name = 'core',
82 srcs = [
83 'core.cc',
84 ],
85 deps = [
86 ':init',
87 '//aos/common/util:run_command',
88 ],
89)