From a141c401f78467bc15f62882fca5d55a007cacbb Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Mon, 17 Feb 2025 00:21:48 +0100 Subject: Reorganize everything --- asl/containers/BUILD.bazel | 58 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 asl/containers/BUILD.bazel (limited to 'asl/containers/BUILD.bazel') 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", +]] -- cgit