John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
| 3 | cc_library( |
| 4 | name = "time", |
| 5 | srcs = [ |
| 6 | "time.cc", |
| 7 | ], |
| 8 | hdrs = [ |
| 9 | "time.h", |
| 10 | ], |
| 11 | compatible_with = [ |
| 12 | "//tools:armhf-debian", |
| 13 | ], |
| 14 | deps = [ |
| 15 | "//aos:macros", |
| 16 | "//aos/mutex:mutex", |
| 17 | "//aos/logging", |
John Park | 398c74a | 2018-10-20 21:17:39 -0700 | [diff] [blame^] | 18 | "//aos/ipc_lib:shared_mem", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 19 | ], |
| 20 | ) |
| 21 | |
| 22 | cc_test( |
| 23 | name = "time_test", |
| 24 | srcs = [ |
| 25 | "time_test.cc", |
| 26 | ], |
| 27 | deps = [ |
| 28 | ":time", |
| 29 | "//aos/logging", |
| 30 | "//aos/util:death_test_log_implementation", |
| 31 | "//aos/testing:googletest", |
| 32 | ], |
| 33 | ) |