summaryrefslogtreecommitdiff
path: root/asl/hashing/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'asl/hashing/BUILD.bazel')
-rw-r--r--asl/hashing/BUILD.bazel33
1 files changed, 33 insertions, 0 deletions
diff --git a/asl/hashing/BUILD.bazel b/asl/hashing/BUILD.bazel
new file mode 100644
index 0000000..6b9b410
--- /dev/null
+++ b/asl/hashing/BUILD.bazel
@@ -0,0 +1,33 @@
+cc_library(
+ name = "hashing",
+ hdrs = [
+ "hash.hpp",
+ ],
+ srcs = [
+ "hash_cityhash.cpp",
+ ],
+ deps = [
+ "//asl/base",
+ "//asl/types:span",
+ ],
+ visibility = ["//visibility:public"],
+)
+
+cc_test(
+ name = "tests",
+ srcs = [
+ "hash_tests.cpp",
+ ],
+ deps = [
+ "//asl/base",
+ "//asl/tests:utils",
+ "//asl/testing",
+ ":hashing",
+ "//asl/strings:string_view",
+ "//asl/strings:string",
+ "//asl/containers:buffer",
+ "//asl/types:box",
+ "//asl/types:option",
+ "//asl/types:status",
+ ],
+)