2018-10-09 05:58:54 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["bit.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/bitutil",
|
|
|
|
visibility = ["//visibility:public"],
|
2019-03-14 16:29:44 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/mathutil:go_default_library",
|
|
|
|
"@com_github_steakknife_hamming//:go_default_library",
|
|
|
|
],
|
2018-10-09 05:58:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["bit_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2019-04-10 05:07:06 +00:00
|
|
|
deps = ["//shared/mathutil:go_default_library"],
|
2018-10-09 05:58:54 +00:00
|
|
|
)
|