load("@prysm//tools/go:def.bzl", "go_library", "go_test")

# gazelle:prefix github.com/karalabe/hid

go_library(
    name = "go_default_library",
    srcs = [
        "hid_disabled.go",
        "raw_disabled.go",
        "usb.go",
        "usb_disabled.go",
    ],
    importpath = "github.com/karalabe/hid",
    visibility = ["@com_github_ethereum_go_ethereum//:__subpackages__"],
)

go_test(
    name = "go_default_test",
    srcs = ["usb_test.go"],
    embed = [":go_default_library"],
)
