package(default_visibility = ["//visibility:public"]) cc_library( name = "blake2s", srcs = ["blake2s.c"], hdrs = ["include/blake2s.h"], includes = ["include"], deps = select({ "@platforms//os:none": ["//lib/libk:k"], "//conditions:default": [], }), ) cc_test( name = "test_blake2s", srcs = [ "blake2s_kat.h", "blake2s_selftest.cc", ], target_compatible_with = select({ "@platforms//os:none": ["@platforms//:incompatible"], "//conditions:default": [], }), deps = [ "//lib/blake2:blake2s", "@googletest//:gtest_main", ], )