Austin Schuh | f972444 | 2018-10-28 20:30:21 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
Parker Schuh | 149161a | 2016-03-16 21:57:21 -0700 | [diff] [blame] | 2 | |
| 3 | cc_library( |
Austin Schuh | f972444 | 2018-10-28 20:30:21 -0700 | [diff] [blame] | 4 | name = "stack_arena", |
| 5 | srcs = ["stack_arena.cc"], |
| 6 | hdrs = ["stack_arena.h"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame^] | 7 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | f972444 | 2018-10-28 20:30:21 -0700 | [diff] [blame] | 8 | deps = [ |
| 9 | "//aos/logging", |
| 10 | "@com_google_protobuf//:protobuf", |
| 11 | ], |
Parker Schuh | 149161a | 2016-03-16 21:57:21 -0700 | [diff] [blame] | 12 | ) |
| 13 | |
| 14 | cc_test( |
Austin Schuh | f972444 | 2018-10-28 20:30:21 -0700 | [diff] [blame] | 15 | name = "stack_arena_test", |
| 16 | srcs = ["stack_arena_test.cc"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame^] | 17 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | f972444 | 2018-10-28 20:30:21 -0700 | [diff] [blame] | 18 | deps = [ |
| 19 | ":stack_arena", |
| 20 | "//aos/logging", |
| 21 | "//aos/testing:googletest", |
| 22 | "//aos/testing:test_logging", |
| 23 | ], |
Parker Schuh | 149161a | 2016-03-16 21:57:21 -0700 | [diff] [blame] | 24 | ) |