Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 1 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 2 | name = "aos_sync", |
| 3 | srcs = [ |
| 4 | "aos_sync.cc", |
| 5 | ], |
| 6 | hdrs = [ |
| 7 | "aos_sync.h", |
| 8 | ], |
| 9 | linkopts = [ |
| 10 | "-lpthread", |
| 11 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 12 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 13 | visibility = ["//visibility:public"], |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 14 | deps = [ |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 15 | "//aos:macros", |
Brian Silverman | b47f555 | 2020-10-01 15:08:14 -0700 | [diff] [blame] | 16 | "//aos:thread_local", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 17 | "//aos/util:compiler_memory_barrier", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 18 | "@com_github_google_glog//:glog", |
| 19 | "@com_google_absl//absl/base", |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 20 | ], |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 21 | ) |
| 22 | |
| 23 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 24 | name = "core_lib", |
| 25 | srcs = [ |
| 26 | "core_lib.c", |
| 27 | ], |
| 28 | hdrs = [ |
| 29 | "core_lib.h", |
| 30 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 31 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 32 | visibility = ["//visibility:public"], |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 33 | deps = [ |
| 34 | ":aos_sync", |
| 35 | ":shared_mem_types", |
| 36 | ], |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 37 | ) |
| 38 | |
| 39 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 40 | name = "shared_mem", |
| 41 | srcs = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 42 | "shared_mem.cc", |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 43 | ], |
| 44 | hdrs = [ |
| 45 | "shared_mem.h", |
| 46 | ], |
| 47 | linkopts = [ |
| 48 | "-lrt", |
| 49 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 50 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 51 | visibility = ["//visibility:public"], |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 52 | deps = [ |
| 53 | ":aos_sync", |
| 54 | ":core_lib", |
| 55 | ":shared_mem_types", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 56 | "@com_github_google_glog//:glog", |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 57 | ], |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 58 | ) |
| 59 | |
| 60 | cc_library( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 61 | # TODO(Brian): This should be shared_mem{,.h}, and the other one should be |
| 62 | # shared_mem_init{,.cc,.h}. |
| 63 | name = "shared_mem_types", |
| 64 | hdrs = [ |
| 65 | "shared_mem_types.h", |
| 66 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 67 | target_compatible_with = ["@platforms//os:linux"], |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 68 | deps = [ |
| 69 | ":aos_sync", |
| 70 | ], |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 71 | ) |
| 72 | |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 73 | cc_test( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 74 | name = "ipc_stress_test", |
| 75 | srcs = [ |
| 76 | "ipc_stress_test.cc", |
| 77 | ], |
| 78 | tags = [ |
| 79 | "manual", |
| 80 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 81 | target_compatible_with = ["@platforms//os:linux"], |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 82 | deps = [ |
| 83 | ":core_lib", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 84 | "//aos:die", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 85 | "//aos/libc:aos_strsignal", |
| 86 | "//aos/libc:dirname", |
| 87 | "//aos/logging", |
Brian Silverman | 16a923c | 2018-10-31 19:40:51 -0700 | [diff] [blame] | 88 | "//aos/mutex", |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 89 | "//aos/testing:googletest", |
| 90 | "//aos/testing:test_shm", |
Brian Silverman | 16a923c | 2018-10-31 19:40:51 -0700 | [diff] [blame] | 91 | "//aos/time", |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 92 | ], |
Brian Silverman | 100534c | 2015-09-07 15:51:23 -0400 | [diff] [blame] | 93 | ) |
| 94 | |
Brian Silverman | e4d8b28 | 2015-12-24 13:44:48 -0800 | [diff] [blame] | 95 | cc_binary( |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 96 | name = "ipc_comparison", |
| 97 | srcs = [ |
| 98 | "ipc_comparison.cc", |
| 99 | ], |
Brian Silverman | 687896e | 2020-10-01 15:05:38 -0700 | [diff] [blame] | 100 | linkopts = ["-lrt"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 101 | target_compatible_with = ["@platforms//os:linux"], |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 102 | deps = [ |
Brian Silverman | 7b266d9 | 2021-02-17 21:24:02 -0800 | [diff] [blame^] | 103 | ":event", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 104 | "//aos:condition", |
Brian Silverman | 16a923c | 2018-10-31 19:40:51 -0700 | [diff] [blame] | 105 | "//aos:init", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 106 | "//aos/logging", |
| 107 | "//aos/logging:implementations", |
Brian Silverman | 16a923c | 2018-10-31 19:40:51 -0700 | [diff] [blame] | 108 | "//aos/mutex", |
| 109 | "@com_github_gflags_gflags//:gflags", |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 110 | ], |
Brian Silverman | e4d8b28 | 2015-12-24 13:44:48 -0800 | [diff] [blame] | 111 | ) |
Austin Schuh | 6c590f8 | 2019-09-11 19:23:12 -0700 | [diff] [blame] | 112 | |
| 113 | cc_library( |
| 114 | name = "signalfd", |
| 115 | srcs = [ |
| 116 | "signalfd.cc", |
| 117 | ], |
| 118 | hdrs = [ |
| 119 | "signalfd.h", |
| 120 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 121 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 122 | visibility = ["//visibility:public"], |
Austin Schuh | 6c590f8 | 2019-09-11 19:23:12 -0700 | [diff] [blame] | 123 | deps = [ |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 124 | "@com_github_google_glog//:glog", |
Austin Schuh | 6c590f8 | 2019-09-11 19:23:12 -0700 | [diff] [blame] | 125 | ], |
| 126 | ) |
Austin Schuh | 25356e2 | 2019-09-11 19:27:07 -0700 | [diff] [blame] | 127 | |
Brian Silverman | 407cc53 | 2019-11-03 11:40:56 -0800 | [diff] [blame] | 128 | cc_test( |
| 129 | name = "signalfd_test", |
| 130 | srcs = [ |
| 131 | "signalfd_test.cc", |
| 132 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 133 | target_compatible_with = ["@platforms//os:linux"], |
Brian Silverman | 407cc53 | 2019-11-03 11:40:56 -0800 | [diff] [blame] | 134 | deps = [ |
| 135 | ":signalfd", |
| 136 | "//aos/testing:googletest", |
| 137 | "//aos/testing:test_logging", |
| 138 | "@com_github_google_glog//:glog", |
| 139 | ], |
| 140 | ) |
| 141 | |
Austin Schuh | 25356e2 | 2019-09-11 19:27:07 -0700 | [diff] [blame] | 142 | cc_library( |
| 143 | name = "index", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 144 | srcs = ["index.cc"], |
Austin Schuh | 25356e2 | 2019-09-11 19:27:07 -0700 | [diff] [blame] | 145 | hdrs = ["index.h"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 146 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 147 | visibility = ["//visibility:public"], |
Brian Silverman | 177567e | 2020-08-12 19:51:33 -0700 | [diff] [blame] | 148 | deps = [ |
| 149 | "@com_github_google_glog//:glog", |
| 150 | ], |
Austin Schuh | 25356e2 | 2019-09-11 19:27:07 -0700 | [diff] [blame] | 151 | ) |
| 152 | |
| 153 | cc_test( |
| 154 | name = "index_test", |
| 155 | srcs = ["index_test.cc"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 156 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 25356e2 | 2019-09-11 19:27:07 -0700 | [diff] [blame] | 157 | deps = [ |
| 158 | ":index", |
| 159 | "//aos/testing:googletest", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 160 | "@com_github_google_glog//:glog", |
Austin Schuh | 25356e2 | 2019-09-11 19:27:07 -0700 | [diff] [blame] | 161 | ], |
| 162 | ) |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 163 | |
| 164 | cc_library( |
| 165 | name = "lockless_queue", |
| 166 | srcs = [ |
| 167 | "lockless_queue.cc", |
| 168 | "lockless_queue_memory.h", |
| 169 | ], |
| 170 | hdrs = ["lockless_queue.h"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 171 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 172 | visibility = ["//visibility:public"], |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 173 | deps = [ |
| 174 | ":aos_sync", |
Brian Silverman | a1652f3 | 2020-01-29 20:41:44 -0800 | [diff] [blame] | 175 | ":data_alignment", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 176 | ":index", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 177 | "//aos:realtime", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 178 | "//aos/time", |
| 179 | "//aos/util:compiler_memory_barrier", |
Austin Schuh | f257f3c | 2019-10-27 21:00:43 -0700 | [diff] [blame] | 180 | "@com_github_google_glog//:glog", |
Austin Schuh | be41674 | 2020-10-03 17:24:26 -0700 | [diff] [blame] | 181 | "@com_google_absl//absl/strings", |
Brian Silverman | 0eaa1da | 2020-08-12 20:03:52 -0700 | [diff] [blame] | 182 | "@com_google_absl//absl/types:span", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 183 | ], |
| 184 | ) |
| 185 | |
| 186 | cc_library( |
| 187 | name = "queue_racer", |
| 188 | testonly = True, |
| 189 | srcs = [ |
| 190 | "queue_racer.cc", |
| 191 | ], |
| 192 | hdrs = [ |
| 193 | "queue_racer.h", |
| 194 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 195 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 196 | deps = [ |
Brian Silverman | 7b266d9 | 2021-02-17 21:24:02 -0800 | [diff] [blame^] | 197 | ":event", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 198 | ":lockless_queue", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 199 | "//aos/testing:googletest", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 200 | ], |
| 201 | ) |
| 202 | |
| 203 | cc_test( |
| 204 | name = "lockless_queue_test", |
| 205 | timeout = "eternal", |
| 206 | srcs = ["lockless_queue_test.cc"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 207 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 208 | deps = [ |
Brian Silverman | 7b266d9 | 2021-02-17 21:24:02 -0800 | [diff] [blame^] | 209 | ":event", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 210 | ":lockless_queue", |
| 211 | ":queue_racer", |
| 212 | ":signalfd", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 213 | "//aos/events:epoll", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 214 | "//aos/testing:googletest", |
| 215 | "//aos/testing:prevent_exit", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 216 | ], |
| 217 | ) |
| 218 | |
| 219 | cc_test( |
| 220 | name = "lockless_queue_death_test", |
| 221 | srcs = ["lockless_queue_death_test.cc"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 222 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 223 | deps = [ |
Brian Silverman | 7b266d9 | 2021-02-17 21:24:02 -0800 | [diff] [blame^] | 224 | ":event", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 225 | ":lockless_queue", |
| 226 | ":queue_racer", |
| 227 | ":signalfd", |
Austin Schuh | 20b2b08 | 2019-09-11 20:42:56 -0700 | [diff] [blame] | 228 | "//aos/events:epoll", |
| 229 | "//aos/libc:aos_strsignal", |
| 230 | "//aos/testing:googletest", |
| 231 | "//aos/testing:prevent_exit", |
| 232 | "//aos/testing:test_logging", |
| 233 | ], |
| 234 | ) |
Brian Silverman | a1652f3 | 2020-01-29 20:41:44 -0800 | [diff] [blame] | 235 | |
| 236 | cc_library( |
| 237 | name = "data_alignment", |
| 238 | hdrs = [ |
| 239 | "data_alignment.h", |
| 240 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 241 | target_compatible_with = ["@platforms//os:linux"], |
Brian Silverman | a1652f3 | 2020-01-29 20:41:44 -0800 | [diff] [blame] | 242 | visibility = ["//visibility:public"], |
| 243 | deps = [ |
| 244 | "@com_github_google_glog//:glog", |
| 245 | ], |
| 246 | ) |
Austin Schuh | 5af45eb | 2019-09-16 20:54:18 -0700 | [diff] [blame] | 247 | |
| 248 | cc_library( |
| 249 | name = "latency_lib", |
| 250 | srcs = ["latency_lib.cc"], |
| 251 | hdrs = ["latency_lib.h"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 252 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 5af45eb | 2019-09-16 20:54:18 -0700 | [diff] [blame] | 253 | deps = [ |
| 254 | "//aos:realtime", |
| 255 | "//aos/logging", |
| 256 | "//aos/time", |
| 257 | "@com_github_google_glog//:glog", |
| 258 | ], |
| 259 | ) |
| 260 | |
| 261 | cc_binary( |
| 262 | name = "signal_stress", |
| 263 | srcs = [ |
| 264 | "signal_stress.cc", |
| 265 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 266 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 5af45eb | 2019-09-16 20:54:18 -0700 | [diff] [blame] | 267 | deps = [ |
| 268 | ":latency_lib", |
| 269 | "//aos:init", |
| 270 | "//aos/events:epoll", |
| 271 | "@com_github_gflags_gflags//:gflags", |
| 272 | ], |
| 273 | ) |
| 274 | |
| 275 | cc_binary( |
| 276 | name = "futex_latency", |
| 277 | srcs = [ |
| 278 | "futex_latency.cc", |
| 279 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 280 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 5af45eb | 2019-09-16 20:54:18 -0700 | [diff] [blame] | 281 | deps = [ |
| 282 | ":latency_lib", |
| 283 | "//aos:condition", |
| 284 | "//aos:init", |
| 285 | "//aos/mutex", |
| 286 | "@com_github_gflags_gflags//:gflags", |
| 287 | ], |
| 288 | ) |
| 289 | |
| 290 | cc_binary( |
| 291 | name = "named_pipe_latency", |
| 292 | srcs = [ |
| 293 | "named_pipe_latency.cc", |
| 294 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 295 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 5af45eb | 2019-09-16 20:54:18 -0700 | [diff] [blame] | 296 | deps = [ |
| 297 | ":latency_lib", |
| 298 | "//aos:init", |
| 299 | "//aos/events:epoll", |
| 300 | "@com_github_gflags_gflags//:gflags", |
| 301 | ], |
| 302 | ) |
| 303 | |
| 304 | cc_binary( |
| 305 | name = "eventfd_latency", |
| 306 | srcs = [ |
| 307 | "eventfd_latency.cc", |
| 308 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 309 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 5af45eb | 2019-09-16 20:54:18 -0700 | [diff] [blame] | 310 | deps = [ |
| 311 | ":latency_lib", |
| 312 | "//aos:init", |
| 313 | "//aos/events:epoll", |
| 314 | "@com_github_gflags_gflags//:gflags", |
| 315 | ], |
| 316 | ) |
Brian Silverman | 001f24d | 2020-08-12 19:33:20 -0700 | [diff] [blame] | 317 | |
| 318 | cc_binary( |
| 319 | name = "print_lockless_queue_memory", |
Brian Silverman | 001f24d | 2020-08-12 19:33:20 -0700 | [diff] [blame] | 320 | srcs = [ |
| 321 | "print_lockless_queue_memory.cc", |
| 322 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 323 | target_compatible_with = ["@platforms//os:linux"], |
Brian Silverman | 4d6207a | 2020-09-18 15:26:52 -0700 | [diff] [blame] | 324 | visibility = ["//visibility:public"], |
Brian Silverman | 001f24d | 2020-08-12 19:33:20 -0700 | [diff] [blame] | 325 | deps = [ |
| 326 | ":lockless_queue", |
| 327 | ], |
| 328 | ) |
Brian Silverman | 7b266d9 | 2021-02-17 21:24:02 -0800 | [diff] [blame^] | 329 | |
| 330 | cc_library( |
| 331 | name = "event", |
| 332 | srcs = [ |
| 333 | "event.cc", |
| 334 | ], |
| 335 | hdrs = [ |
| 336 | "event.h", |
| 337 | ], |
| 338 | target_compatible_with = ["@platforms//os:linux"], |
| 339 | visibility = ["//visibility:public"], |
| 340 | deps = [ |
| 341 | "//aos/ipc_lib:aos_sync", |
| 342 | "//aos/time", |
| 343 | "//aos/type_traits", |
| 344 | "@com_github_google_glog//:glog", |
| 345 | ], |
| 346 | ) |
| 347 | |
| 348 | cc_test( |
| 349 | name = "event_test", |
| 350 | srcs = [ |
| 351 | "event_test.cc", |
| 352 | ], |
| 353 | target_compatible_with = ["@platforms//os:linux"], |
| 354 | deps = [ |
| 355 | ":event", |
| 356 | "//aos/testing:googletest", |
| 357 | "//aos/testing:test_logging", |
| 358 | "//aos/time", |
| 359 | ], |
| 360 | ) |