blob: 02cec57f20a0b0b4ed35212f8d24707e063ea731 [file] [log] [blame]
John Park33858a32018-09-28 23:05:48 -07001package(default_visibility = ["//visibility:public"])
2
3cc_library(
4 name = "mutex",
5 srcs = [
6 "mutex.cc",
7 ],
8 hdrs = [
9 "mutex.h",
10 ],
11 compatible_with = [
12 "//tools:armhf-debian",
13 ],
14 deps = [
15 "//aos:die",
16 "//aos/type_traits:type_traits",
17 "//aos/logging",
18 "//aos/linux_code/ipc_lib:aos_sync",
19 ],
20)
21
22cc_test(
23 name = "mutex_test",
24 srcs = [
25 "mutex_test.cc",
26 ],
27 deps = [
28 "//aos:die",
29 ":mutex",
30 "//aos/time:time",
31 "//aos/logging",
32 "//aos/util:death_test_log_implementation",
33 "//aos/util:thread",
34 "//aos/testing:googletest",
35 "//aos/testing:test_logging",
36 "//aos/testing:test_shm",
37 ],
38)