BUILD.bazel 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "client.go",
  6. "clientconfig.go",
  7. "dane.go",
  8. "defaults.go",
  9. "dns.go",
  10. "dnssec.go",
  11. "dnssec_keygen.go",
  12. "dnssec_keyscan.go",
  13. "dnssec_privkey.go",
  14. "doc.go",
  15. "edns.go",
  16. "format.go",
  17. "generate.go",
  18. "labels.go",
  19. "msg.go",
  20. "msg_helpers.go",
  21. "nsecx.go",
  22. "privaterr.go",
  23. "rawmsg.go",
  24. "reverse.go",
  25. "sanitize.go",
  26. "scan.go",
  27. "scan_rr.go",
  28. "scanner.go",
  29. "server.go",
  30. "sig0.go",
  31. "singleinflight.go",
  32. "smimea.go",
  33. "tlsa.go",
  34. "tsig.go",
  35. "types.go",
  36. "udp.go",
  37. "update.go",
  38. "version.go",
  39. "xfr.go",
  40. "zcompress.go",
  41. "zmsg.go",
  42. "ztypes.go",
  43. ],
  44. importmap = "go-common/vendor/github.com/miekg/dns",
  45. importpath = "github.com/miekg/dns",
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:public"],
  48. deps = [
  49. "//vendor/golang.org/x/crypto/ed25519:go_default_library",
  50. "@org_golang_x_net//ipv4:go_default_library",
  51. "@org_golang_x_net//ipv6:go_default_library",
  52. ],
  53. )
  54. filegroup(
  55. name = "package-srcs",
  56. srcs = glob(["**"]),
  57. tags = ["automanaged"],
  58. visibility = ["//visibility:private"],
  59. )
  60. filegroup(
  61. name = "all-srcs",
  62. srcs = [":package-srcs"],
  63. tags = ["automanaged"],
  64. visibility = ["//visibility:public"],
  65. )