blob: 3884130fa7fe33d33d300382a5a4dae0709a6bf7 [file] [log] [blame]
Philipp Schrader9b1790e2018-03-10 20:21:30 -08001package(default_visibility = ["//visibility:public"])
Austin Schuhf0736512015-09-07 01:22:16 -07002
3cc_binary(
Philipp Schrader9b1790e2018-03-10 20:21:30 -08004 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 Schuhf0736512015-09-07 01:22:16 -070013)
14
15cc_library(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080016 name = "queue",
17 hdrs = [
18 "queue-tmpl.h",
19 ],
20 visibility = ["//aos/common:__pkg__"],
Austin Schuh044e18b2015-10-21 20:17:09 -070021)
22
23cc_library(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080024 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 Schuhf0736512015-09-07 01:22:16 -070038)
39
40cc_test(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080041 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 Schuhf0736512015-09-07 01:22:16 -070051)
52
53cc_library(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080054 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 Schuhf0736512015-09-07 01:22:16 -070066)
67
68cc_library(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080069 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 Schuhf0736512015-09-07 01:22:16 -070081)
82
83cc_binary(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080084 name = "core",
85 srcs = [
86 "core.cc",
87 ],
88 deps = [
89 ":init",
90 "//aos/common/util:run_command",
91 ],
Austin Schuhf0736512015-09-07 01:22:16 -070092)