James Kuszmaul | 97f750d | 2019-01-20 20:08:03 -0800 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
| 3 | cc_library( |
| 4 | name = "ring_buffer", |
| 5 | hdrs = [ |
| 6 | "ring_buffer.h", |
| 7 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 8 | target_compatible_with = ["@platforms//os:linux"], |
James Kuszmaul | 97f750d | 2019-01-20 20:08:03 -0800 | [diff] [blame] | 9 | ) |
| 10 | |
| 11 | cc_test( |
| 12 | name = "ring_buffer_test", |
| 13 | srcs = [ |
| 14 | "ring_buffer_test.cc", |
| 15 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 16 | target_compatible_with = ["@platforms//os:linux"], |
James Kuszmaul | 97f750d | 2019-01-20 20:08:03 -0800 | [diff] [blame] | 17 | deps = [ |
| 18 | ":ring_buffer", |
| 19 | "//aos/testing:googletest", |
Austin Schuh | 4075ff6 | 2021-03-31 23:22:35 -0700 | [diff] [blame^] | 20 | "@com_github_google_glog//:glog", |
James Kuszmaul | 97f750d | 2019-01-20 20:08:03 -0800 | [diff] [blame] | 21 | ], |
| 22 | ) |
| 23 | |
| 24 | cc_library( |
| 25 | name = "priority_queue", |
| 26 | hdrs = [ |
| 27 | "priority_queue.h", |
| 28 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 29 | target_compatible_with = ["@platforms//os:linux"], |
James Kuszmaul | 97f750d | 2019-01-20 20:08:03 -0800 | [diff] [blame] | 30 | ) |
| 31 | |
| 32 | cc_test( |
| 33 | name = "priority_queue_test", |
| 34 | srcs = [ |
| 35 | "priority_queue_test.cc", |
| 36 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 37 | target_compatible_with = ["@platforms//os:linux"], |
James Kuszmaul | 97f750d | 2019-01-20 20:08:03 -0800 | [diff] [blame] | 38 | deps = [ |
| 39 | ":priority_queue", |
| 40 | "//aos/testing:googletest", |
| 41 | ], |
| 42 | ) |
Brian Silverman | d844a57 | 2019-01-26 15:59:00 -0800 | [diff] [blame] | 43 | |
| 44 | cc_library( |
| 45 | name = "sized_array", |
| 46 | hdrs = [ |
| 47 | "sized_array.h", |
| 48 | ], |
| 49 | ) |
| 50 | |
| 51 | cc_test( |
| 52 | name = "sized_array_test", |
| 53 | srcs = [ |
| 54 | "sized_array_test.cc", |
| 55 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 56 | target_compatible_with = ["@platforms//os:linux"], |
Brian Silverman | d844a57 | 2019-01-26 15:59:00 -0800 | [diff] [blame] | 57 | deps = [ |
| 58 | ":sized_array", |
| 59 | "//aos/testing:googletest", |
| 60 | ], |
| 61 | ) |
Brian Silverman | f51499a | 2020-09-21 12:49:08 -0700 | [diff] [blame] | 62 | |
| 63 | cc_library( |
| 64 | name = "resizeable_buffer", |
| 65 | hdrs = [ |
| 66 | "resizeable_buffer.h", |
| 67 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 68 | target_compatible_with = ["@platforms//os:linux"], |
Brian Silverman | f51499a | 2020-09-21 12:49:08 -0700 | [diff] [blame] | 69 | deps = [ |
| 70 | "@com_github_google_glog//:glog", |
| 71 | ], |
| 72 | ) |
Brian Silverman | 3fab618 | 2020-09-30 20:35:20 -0700 | [diff] [blame] | 73 | |
| 74 | cc_test( |
| 75 | name = "resizeable_buffer_test", |
| 76 | srcs = [ |
| 77 | "resizeable_buffer_test.cc", |
| 78 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 79 | target_compatible_with = ["@platforms//os:linux"], |
Brian Silverman | 3fab618 | 2020-09-30 20:35:20 -0700 | [diff] [blame] | 80 | deps = [ |
| 81 | ":resizeable_buffer", |
| 82 | "//aos/testing:googletest", |
| 83 | "@com_google_absl//absl/types:span", |
| 84 | ], |
| 85 | ) |