John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
| 3 | cc_library( |
| 4 | name = "mutex", |
| 5 | srcs = [ |
| 6 | "mutex.cc", |
| 7 | ], |
| 8 | hdrs = [ |
| 9 | "mutex.h", |
| 10 | ], |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 11 | deps = [ |
John Park | 398c74a | 2018-10-20 21:17:39 -0700 | [diff] [blame] | 12 | "//aos/ipc_lib:aos_sync", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 13 | "//aos/type_traits", |
| 14 | "@com_github_google_glog//:glog", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 15 | ], |
| 16 | ) |
| 17 | |
| 18 | cc_test( |
| 19 | name = "mutex_test", |
| 20 | srcs = [ |
| 21 | "mutex_test.cc", |
| 22 | ], |
| 23 | deps = [ |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 24 | ":mutex", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 25 | "//aos/testing:googletest", |
| 26 | "//aos/testing:test_logging", |
| 27 | "//aos/testing:test_shm", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 28 | "//aos/time", |
| 29 | "//aos/util:death_test_log_implementation", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 30 | "@com_github_google_glog//:glog", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 31 | ], |
| 32 | ) |