blob: 7cc22d056b0ed58157d2fd3c9202df48cba0760c [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 = [
John Park33858a32018-09-28 23:05:48 -07009 "//aos/time:time",
10 "//aos/logging",
11 "//aos/logging:implementations",
Philipp Schrader9b1790e2018-03-10 20:21:30 -080012 ],
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 ],
Brian Silverman7a7c24d2018-09-01 17:49:09 -070020 compatible_with = [
21 "//tools:armhf-debian",
22 ],
John Park33858a32018-09-28 23:05:48 -070023 visibility = ["//aos:__pkg__"],
Austin Schuh044e18b2015-10-21 20:17:09 -070024)
25
26cc_library(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080027 name = "complex_thread_local",
28 srcs = [
29 "complex_thread_local.cc",
30 ],
31 hdrs = [
32 "complex_thread_local.h",
33 ],
Brian Silverman7a7c24d2018-09-01 17:49:09 -070034 compatible_with = [
35 "//tools:armhf-debian",
36 ],
Philipp Schrader9b1790e2018-03-10 20:21:30 -080037 linkopts = [
38 "-lpthread",
39 ],
40 deps = [
41 "//aos:once",
John Park33858a32018-09-28 23:05:48 -070042 "//aos:die",
Philipp Schrader9b1790e2018-03-10 20:21:30 -080043 ],
Austin Schuhf0736512015-09-07 01:22:16 -070044)
45
46cc_test(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080047 name = "complex_thread_local_test",
48 srcs = [
49 "complex_thread_local_test.cc",
50 ],
51 deps = [
52 ":complex_thread_local",
John Park33858a32018-09-28 23:05:48 -070053 "//aos/logging",
54 "//aos/util:thread",
Philipp Schrader9b1790e2018-03-10 20:21:30 -080055 "//aos/testing:googletest",
56 ],
Austin Schuhf0736512015-09-07 01:22:16 -070057)
58
59cc_library(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080060 name = "init",
61 srcs = [
62 "init.cc",
63 ],
64 hdrs = [
65 "init.h",
66 ],
Brian Silverman7a7c24d2018-09-01 17:49:09 -070067 compatible_with = [
68 "//tools:armhf-debian",
69 ],
Philipp Schrader9b1790e2018-03-10 20:21:30 -080070 deps = [
John Park33858a32018-09-28 23:05:48 -070071 "//aos:die",
72 "//aos/logging:implementations",
Philipp Schrader9b1790e2018-03-10 20:21:30 -080073 "//aos/linux_code/ipc_lib:shared_mem",
74 ],
Austin Schuhf0736512015-09-07 01:22:16 -070075)
76
77cc_library(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080078 name = "configuration",
79 srcs = [
80 "configuration.cc",
81 ],
82 hdrs = [
83 "configuration.h",
84 ],
Brian Silverman7a7c24d2018-09-01 17:49:09 -070085 compatible_with = [
86 "//tools:armhf-debian",
87 ],
Philipp Schrader9b1790e2018-03-10 20:21:30 -080088 deps = [
89 "//aos:once",
John Park33858a32018-09-28 23:05:48 -070090 "//aos:unique_malloc_ptr",
91 "//aos/logging",
Philipp Schrader9b1790e2018-03-10 20:21:30 -080092 ],
Austin Schuhf0736512015-09-07 01:22:16 -070093)
94
95cc_binary(
Philipp Schrader9b1790e2018-03-10 20:21:30 -080096 name = "core",
97 srcs = [
98 "core.cc",
99 ],
100 deps = [
101 ":init",
John Park33858a32018-09-28 23:05:48 -0700102 "//aos/util:run_command",
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800103 ],
Austin Schuhf0736512015-09-07 01:22:16 -0700104)