summaryrefslogtreecommitdiff
path: root/asl/containers/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'asl/containers/BUILD.bazel')
-rw-r--r--asl/containers/BUILD.bazel58
1 files changed, 58 insertions, 0 deletions
diff --git a/asl/containers/BUILD.bazel b/asl/containers/BUILD.bazel
new file mode 100644
index 0000000..2d2e057
--- /dev/null
+++ b/asl/containers/BUILD.bazel
@@ -0,0 +1,58 @@
+cc_library(
+ name = "buffer",
+ hdrs = [
+ "buffer.hpp",
+ ],
+ deps = [
+ "//asl/memory",
+ "//asl/base",
+ "//asl/types:span",
+ "//asl/hashing",
+ ],
+ visibility = ["//visibility:public"],
+)
+
+cc_library(
+ name = "hash_set",
+ hdrs = [
+ "hash_set.hpp",
+ ],
+ deps = [
+ "//asl/base",
+ "//asl/memory",
+ "//asl/types:maybe_uninit",
+ "//asl/hashing",
+ ],
+ visibility = ["//visibility:public"],
+)
+
+cc_library(
+ name = "hash_map",
+ hdrs = [
+ "hash_map.hpp",
+ ],
+ deps = [
+ "//asl/base",
+ "//asl/memory",
+ "//asl/hashing",
+ ":hash_set",
+ ],
+ visibility = ["//visibility:public"],
+)
+
+[cc_test(
+ name = "%s_tests" % name,
+ srcs = [
+ "%s_tests.cpp" % name,
+ ],
+ deps = [
+ ":%s" % name,
+ "//asl/tests:utils",
+ "//asl/testing",
+ "//asl/strings:string",
+ ],
+) for name in [
+ "buffer",
+ "hash_map",
+ "hash_set",
+]]