blob: 6e61139ce46a9d7a790929836dc01658b3f2d861 [file] [log] [blame]
Austin Schuhf9724442018-10-28 20:30:21 -07001package(default_visibility = ["//visibility:public"])
Parker Schuh149161a2016-03-16 21:57:21 -07002
3cc_library(
Austin Schuhf9724442018-10-28 20:30:21 -07004 name = "stack_arena",
5 srcs = ["stack_arena.cc"],
6 hdrs = ["stack_arena.h"],
Philipp Schraderdada1072020-11-24 11:34:46 -08007 target_compatible_with = ["@platforms//os:linux"],
Austin Schuhf9724442018-10-28 20:30:21 -07008 deps = [
9 "//aos/logging",
10 "@com_google_protobuf//:protobuf",
11 ],
Parker Schuh149161a2016-03-16 21:57:21 -070012)
13
14cc_test(
Austin Schuhf9724442018-10-28 20:30:21 -070015 name = "stack_arena_test",
16 srcs = ["stack_arena_test.cc"],
Philipp Schraderdada1072020-11-24 11:34:46 -080017 target_compatible_with = ["@platforms//os:linux"],
Austin Schuhf9724442018-10-28 20:30:21 -070018 deps = [
19 ":stack_arena",
20 "//aos/logging",
21 "//aos/testing:googletest",
22 "//aos/testing:test_logging",
23 ],
Parker Schuh149161a2016-03-16 21:57:21 -070024)